Back to Devexpress

TreeListOperation.CanExecute(TreeListNode) Method

windowsforms-devexpress-dot-xtratreelist-dot-nodes-dot-operations-dot-treelistoperation-dot-canexecute-x28-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-x29.md

latest2.0 KB
Original Source

TreeListOperation.CanExecute(TreeListNode) Method

Checks whether or not this TreeListOperation can be applied to the specific node.

Namespace : DevExpress.XtraTreeList.Nodes.Operations

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public virtual bool CanExecute(
    TreeListNode node
)
vb
Public Overridable Function CanExecute(
    node As TreeListNode
) As Boolean

Parameters

NameTypeDescription
nodeTreeListNode

A TreeListNode to check.

|

Returns

TypeDescription
Boolean

true if this TreeListOperation can be applied to the specific node; otherwise, false.

|

See Also

Tree Traversal

TreeListOperation Class

TreeListOperation Members

DevExpress.XtraTreeList.Nodes.Operations Namespace