Skip to main content
All docs
V25.1
  • FileManagerToolbarItemBuilder.Icon(String) Method

    Specifies the icon to be displayed on the toolbar item. Mirrors the client-side icon option.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public FileManagerToolbarItemBuilder Icon(
        string value
    )

    Parameters

    Name Type Description
    value String

    The option value.

    Returns

    Type Description
    FileManagerToolbarItemBuilder

    A reference to this instance after the method is called.

    Remarks

    @(Html.DevExtreme().FileManager()
        .Toolbar(toolbar => toolbar
            .Items(items => {
                items.Add().Icon("myValue");
            })
        )
    )
    
    See Also