TcxTreeListColumnHeaderPopupMenu.Items Property
Specifies the visibility of menu items.
Declaration
property Items: TcxTreeListColumnHeaderPopupMenuItems read; write;
Property Value
Type |
---|
TcxTreeListColumnHeaderPopupMenuItems |
Remarks
Set an option flag within the Items property to make a corresponding menu item visible.
The image and table below show menu items and corresponding option flags and command identity values used to create these items, via the CreateMenuItem function:
# | Option Flag | Command Identity Value |
---|---|---|
1 | tlchmiSortAscending | tlcmSortAscending |
2 | tlchmiSortDescending | tlcmSortDescending |
3 | tlchmiClearSorting | tlcmClearSorting |
4 | tlchmiFooter | tlcmFooter |
5 | tlchmiGroupFooters | Sub-menu items: tlcmGroupFootersInvisible tlcmGroupFootersVisibleWhenExpanded tlcmGroupFootersAlwaysVisible |
6 | tlchmiRemoveThisColumn | tlcmRemoveThisColumn |
7 | tlchmiFieldChooser | tlcmFieldChooser |
8 | tlchmiHorzAlignment | Sub-menu items: tlcmHorzAlignmentLeft tlcmHorzAlignmentCenter tlcmHorzAlignmentRight |
9 | tlchmiVertAlignment | Sub-menu items: tlcmVertAlignmentTop tlcmVertAlignmentCenter tlcmVertAlignmentBottom |
10 | tlchmiBestFit | tlcmBestFit |
11 | tlchmiBestFitAllColumns | tlcmBestFitAllColumns |
Note
The Alignment menu items are invisible regardless of the tlchmiHorzAlignment and tlchmiVertAlignment flags, if a column’s Properties property is unassigned.