ASPxPivotGrid.FilterControlCustomValueDisplayText Event

Enables you to specify the entered filter value's custom display text, to be displayed when the filter control's condition value editor is inactive.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public event FilterControlCustomValueDisplayTextEventHandler FilterControlCustomValueDisplayText
Public Event FilterControlCustomValueDisplayText As FilterControlCustomValueDisplayTextEventHandler

Event Data

The FilterControlCustomValueDisplayText event handler receives an argument of the FilterControlCustomValueDisplayTextEventArgs type. The following properties provide information specific to this event.

Property Description
DisplayText Gets or sets the display text of the entered filter value.
EncodeHtml Gets or sets a value that specifies whether the filter value display text keeps any of its values that are HTML as HTML, or instead, strips out the HTML markers.
PropertyInfo Gets the filterable property of the filter expression.
Value Gets the custom value entered into the filter bar by an end user.

Remarks

The FilterControlCustomValueDisplayText event enables you to provide a custom display text for the filter value entered into the built-in filter control's filter condition. This custom text is displayed within a condition value editor when it's inactive.

The event's FilterControlCustomValueDisplayTextEventArgs.Value property allows the currently entered value to be obtained. Set the FilterControlCustomValueDisplayTextEventArgs.DisplayText property to specify the value's custom display text, if required.

See Also