Skip to main content
All docs
V23.2

TreeList.ShowContextMenu() Method

Displays a node context menu for the focused cell.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

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

Declaration

public bool ShowContextMenu()

Returns

Type Description
Boolean

true if the context menu was displayed; otherwise, false.

Remarks

The ShowContextMenu method scrolls the TreeList horizontally and vertically to make the focused cell visible onscreen (if it is not visible) and displays a context menu for it (the EnableNodeMenu option must be enabled).

See Also