Back to Devexpress

TreeList.AfterFocusNode Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-81b95641.md

latest2.3 KB
Original Source

TreeList.AfterFocusNode Event

Fires in response to focus being moved between nodes.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public event NodeEventHandler AfterFocusNode
vb
Public Event AfterFocusNode As NodeEventHandler

Event Data

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

PropertyDescription
NodeGets the current Tree List node.

Remarks

The AfterFocusNode event is raised when end-users move focus from one node to another, or in response to changing the TreeList.FocusedNode property via code. The event parameter’s NodeEventArgs.Node property represents the currently focused node.

The AfterFocusNode and TreeList.FocusedNodeChanged events are almost equivalent. They fire at the same point in time. However, unlike the AfterFocusNode event, the TreeList.FocusedNodeChanged event provides an OldNode parameter, which specifies the previously focused node.

See Also

BeforeFocusNode

FocusedNodeChanged

FocusedNode

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace