Skip to main content

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

Initializes a new instance of the TreeListMenuItemClickEventArgs class.

Namespace: DevExpress.XtraTreeList

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