Skip to main content
All docs
V24.2

TreeList.ShowContextMenu() Method

Displays a node context menu for the focused cell.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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