BeforeFocusNodeEventArgs(TreeListNode, TreeListNode) Constructor
Creates an instance of the BeforeFocusNodeEventArgs class.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public BeforeFocusNodeEventArgs(
TreeListNode old,
TreeListNode node
)
#Parameters
Name | Type | Description |
---|---|---|
old | Tree |
A Tree |
node | Tree |
A Tree |
#Remarks
The TreeList.BeforeFocusNode event fires right before the focused node changes. An instance of the BeforeFocusNodeEventArgs class with predefined settings is automatically created and passed to the corresponding handler.
The BeforeFocusNodeEventArgs.CanFocus property is set to true in the constructor.