Back to Devexpress

TreeList.ShowContextMenu() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-2a1930b2.md

latest1.7 KB
Original Source

TreeList.ShowContextMenu() Method

Displays a node context menu for the focused cell.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public bool ShowContextMenu()
vb
Public Function ShowContextMenu As Boolean

Returns

TypeDescription
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

EnableNodeMenu

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace