Skip to main content
A newer version of this page is available. .
All docs
V20.2

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public bool IsNodeMenuEnabled { get; set; }

Property Value

Type Default Description
Boolean true

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