Back to Devexpress

ASPxFilterControlBase.CustomValueDisplayText Event

aspnet-devexpress-dot-web-dot-aspxfiltercontrolbase-7f855f8f.md

latest2.7 KB
Original Source

ASPxFilterControlBase.CustomValueDisplayText Event

Enables you to specify the entered value’s custom display text to be displayed when a value editor is inactive.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event FilterControlCustomValueDisplayTextEventHandler CustomValueDisplayText
vb
Public Event CustomValueDisplayText As FilterControlCustomValueDisplayTextEventHandler

Event Data

The CustomValueDisplayText event's data class is FilterControlCustomValueDisplayTextEventArgs. The following properties provide information specific to this event:

PropertyDescription
DisplayTextGets or sets the display text of the entered filter value.
EncodeHtmlGets 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.
PropertyInfoGets the filterable property of the filter expression.
ValueGets the custom value entered into the filter bar by an end user.

Remarks

The CustomValueDisplayText event enables you to provide a custom display text for the entered filter value. This custom text is displayed within a 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

Filter Control

ASPxFilterControlBase Class

ASPxFilterControlBase Members

DevExpress.Web Namespace