Back to Devexpress

TreeListMenuItemClickEventArgs.MenuType Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistmenuitemclickeventargs-93aa3b16.md

latest2.9 KB
Original Source

TreeListMenuItemClickEventArgs.MenuType Property

Gets the type of menu whose item has been clicked.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public TreeListMenuType MenuType { get; }
vb
Public ReadOnly Property MenuType As TreeListMenuType

Property Value

TypeDescription
TreeListMenuType

A TreeListMenuType enumeration value that specifies the type of menu whose item has been clicked.

|

Available values:

NameDescription
User

Corresponds to the user defined context menu.

| | Summary |

The context menu invoked with a right click on a group summary or total summary.

| | Column |

The context menu invoked with a right click on a column header.

| | Node |

The context menu invoked with a right click on a node.

| | AutoFilter |

The menu that allows the user to select a condition in the automatic filtering row.

|

Remarks

If the MenuType property is set to Summary, use the IsFooter property to determine whether the item is clicked in the menu for the footer’s total summary or for a group summary.

See Also

IsFooter

Column

Handled

TreeListMenuItemClickEventArgs Class

TreeListMenuItemClickEventArgs Members

DevExpress.XtraTreeList Namespace