Skip to main content
A newer version of this page is available. .

BeforeFocusNodeEventArgs Class

Provides data for the TreeList.BeforeFocusNode event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

public class BeforeFocusNodeEventArgs :
    FocusedNodeChangedEventArgs

Remarks

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.

Inheritance

See Also