Skip to main content

TreeList.AfterFocusNode Event

Fires in response to focus being moved between nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

public event NodeEventHandler AfterFocusNode

Event Data

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

Property Description
Node Gets 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