HeaderMenu structure
Sub-properties |
dcFolderListView component.
|
type
|
TdcListViewHeaderMenu = class
|
published
|
property AscendingItem: TMenuItem;
|
property DescendingItem: TMenuItem;
|
property PopupMenu: TPopupMenu;
|
end;
|
|
property HeaderMenu: TdcListViewHeaderMenu;
|
The HeaderMenu structure specifies custom popup menu for the header sections of the dcFolderListView control. You can point custom PopupMenu + "Ascending" and "Descending" items in this menu, which will automatically change sorting direction when user selects these items.
|
|
Usually you don't need to specify custom menu, because the dcFolderListView already has built-in menu with two default items "Sort Ascending" and "Sort Descending". Use the custom popup menu only if you would like to add additional features to the header menu or wish to translate the text for menu items to another language.
|
|
If you don't want to show the popup menu for header columns at all - set ShowHeaderMenu property to False.
|
ShowHeaderMenu and SortDirection properties.
|