TreeListSettings.CustomFilterExpressionDisplayText Property
Enables you to display custom text within the filter bar, corresponding to the current filter expression.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public CustomFilterExpressionDisplayTextEventHandler CustomFilterExpressionDisplayText { get; set; }
Property Value
Type | Description |
---|---|
CustomFilterExpressionDisplayTextEventHandler | A CustomFilterExpressionDisplayTextEventHandler delegate method allowing you to implement custom processing. |
Remarks
The CustomFilterExpressionDisplayText event is raised each time the filter bar is being rendered, and allows you to change the filter string displayed within the bar.
The event parameter’s CustomFilterExpressionDisplayTextEventArgs.Criteria properties allow you to obtain the filter criteria currently applied. Its text representation is returned by the CustomFilterExpressionDisplayTextEventArgs.FilterExpression property. By default, this text is displayed within the filter bar. To display custom text, use the CustomFilterExpressionDisplayTextEventArgs.DisplayText property.