Back to Devexpress

SpeedDialActionBuilder.Icon(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-speeddialactionbuilder-dot-icon-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

SpeedDialActionBuilder.Icon(String) Method

Specifies the icon the FAB or speed dial action button displays. Mirrors the client-side icon option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SpeedDialActionBuilder Icon(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
SpeedDialActionBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().SpeedDialAction()
    .Icon("MyIcon")
)

See Also

SpeedDialActionBuilder Class

SpeedDialActionBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace