Skip to main content

ASPxTreeList.CustomFilterNode Event

Enables you to specify whether the required node should be filtered even if this node doesn’t match the specified filter criteria.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event TreeListCustomFilterNodeEventHandler CustomFilterNode

Event Data

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

Property Description
IsFit Gets or sets whether the node should be filtered.
Node Gets the node currently being processed. Inherited from TreeListNodeEventArgs.

Remarks

The CustomFilterNode event provides a way to control which nodes should be filtered even if they don’t match the filter criteria specified by the ASPxTreeList.FilterExpression property.

The CustomFilterNode event fires for each node. The currently processed node is identified by the TreeListNodeEventArgs.Node parameter. To specify that the node should be filtered, use the TreeListCustomFilterNodeEventArgs.IsFit property.

See Also