Skip to main content

TreeList.CustomFilterDisplayText Event

Allows you to customize the text displayed within the Filter Panel.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public event ConvertEditValueEventHandler CustomFilterDisplayText

Event Data

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

Property Description
Handled Gets or sets a value specifying whether default edit value conversion/formatting is required.
Value Gets or sets either the edit or the display value of an editor.

Remarks

The e.Value property specifies the current filter criteria. Assign the required string to the e.Value property and set the e.Handled property to true to specify the filter string displayed within the Filter Panel.

Note

The CustomFilterDisplayText event allows you to customize filter text only when the Filter Panel is in “Text” mode (FilterCriteriaDisplayStyle).

See Also