Skip to main content

FilterBuilderCustomOperationBuilder.Icon(String) Method

Specifies the icon that should represent the filter operation. Mirrors the client-side icon option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FilterBuilderCustomOperationBuilder Icon(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
FilterBuilderCustomOperationBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().FilterBuilder()
    .CustomOperations(customOperations => {
        customOperations.Add().Icon("MyIcon");
    })
)
See Also