Skip to main content
All docs
V23.2

GanttHeaderFilterTextsBuilder.Cancel(String) Method

Specifies text for the 'Cancel' button in the popup window. Mirrors the client-side cancel option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttHeaderFilterTextsBuilder Cancel(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
GanttHeaderFilterTextsBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Gantt()
    .HeaderFilter(filter => filter
        .Texts(texts => texts
            .Cancel("Custom text")
        )
    )
)
See Also