Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.ActiveFilter Property

Retrieves the filtering criteria currently applied to this TreeList.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
[DXCategory("Behavior")]
public TreeFilter ActiveFilter { get; }

#Property Value

Type Description
DevExpress.XtraTreeList.TreeFilter

A DevExpress.XtraTreeList.TreeFilter object that is the filtering criteria applied to this TreeList.

#Remarks

The ActiveFilter method returns an object of the TreeFilter type, that allows you to retrieve the following information.

  • Tree List columns whose data is filtered.
  • Filtering expressions (Like, Equals, Starts With, etc.) applied to columns.
  • String representations of the applied filtering expressions. These strings are displayed within the TreeList filter panel.

You can manually edit the ActiveFilter property to apply specific filtering conditions to TreeList columns.

See Also