Skip to main content
All docs
V25.1
  • TreeList.ShowContextMenu() Method

    Displays a node context menu for the focused cell.

    Namespace: DevExpress.XtraTreeList

    Assembly: DevExpress.XtraTreeList.v25.1.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