Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListMenuItemClickEventArgs(TreeListColumn, Boolean, SummaryItemType, String, TreeListMenuType, DXMenuItem) Constructor

In This Article

Initializes a new instance of the TreeListMenuItemClickEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public TreeListMenuItemClickEventArgs(
    TreeListColumn column,
    bool isFooter,
    SummaryItemType type,
    string format,
    TreeListMenuType menuType,
    DXMenuItem menuItem
)

#Parameters

Name Type Description
column TreeListColumn

A TreeListColumn object representing the column for which the context menu has been activated. This value is assigned to the TreeListMenuItemClickEventArgs.Column property.

isFooter Boolean

true if the summary footer’s menu item has been clicked; false if either the column header or row footer’s menu item has been clicked. This value is assigned to the TreeListMenuItemClickEventArgs.IsFooter property.

type SummaryItemType

A SummaryItemType enumeration value specifying the type of summary which is about to be applied to the column. This value is assigned to the TreeListMenuItemClickEventArgs.SummaryType property.

format String

The format string applied to the column’s summary value. This value is assigned to the TreeListMenuItemClickEventArgs.SummaryFormat property.

menuType TreeListMenuType
menuItem DXMenuItem

A DXMenuItem object representing the clicked menu item. This value is assigned to the TreeListMenuItemClickEventArgs.MenuItem property.

See Also