Skip to main content

BeforeFocusNodeEventArgs Class

Provides data for the TreeList.BeforeFocusNode event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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


public class BeforeFocusNodeEventArgs :


The TreeList.BeforeFocusNode event fires when a node is about to obtain focus. The BeforeFocusNodeEventArgs class gives you information about the previously focused node and the node which is about to be focused. This information can be obtained via the inherited NodeEventArgs.Node and FocusedNodeChangedEventArgs.OldNode properties. The BeforeFocusNodeEventArgs.CanFocus property allows you to specify whether the node can obtain focus.

Instances of the BeforeFocusNodeEventArgs are automatically created, modified and passed to TreeList.BeforeFocusNode event handlers.


See Also