Back to Devexpress

TreeViewControl.IsNodeMenuEnabled Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-b93fa2b7.md

latest1.4 KB
Original Source

TreeViewControl.IsNodeMenuEnabled Property

Gets or sets whether a user can right-click a node to access its context menu. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool IsNodeMenuEnabled { get; set; }
vb
Public Property IsNodeMenuEnabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to enable a node context menu; otherwise, false.

|

Remarks

A node’s context menu is empty, and the TreeViewControl does not display it when a user right-clicks the node. To add menu items to the context menu, use the NodeMenuCustomizations property.

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace