Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Feature Center
    [Expand]Data Binding
    [Expand]Nodes
    [Expand]Data Editing
    [Expand]Data Representation
    [Expand]Sorting
    [Expand]Filtering
    [Expand]Summaries
    [Expand]Appearances and Look And Feel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
    [Collapse]Miscellaneous
     [Collapse]Context Menus
       Add Custom Menu Items to the Standard Menus
       Change the Behavior of the Standard Menu Items
       Control the Availability of the Standard Context Menus to End-Users
       Custom Menus
       Customize the Standard Context Menus
       Disable and Remove Particular Items in the Standard Menus
       Standard Context Menus
     [Expand]Export and Import Data
     [Expand]Print XtraTreeList
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Standard Context Menus

By default, the Tree List control provides context menus for column headers, group summary footers and the total summary footer. This topic describes their capabilities. To learn how to prevent these menus from opening, see Control the Availability of the Standard Context Menus to End-Users. For information on changing the menus' functionality, see Customize the Standard Context Menus.

 

Expanded The Column Header Menu

End-users can invoke this menu by right-clicking a column header. Some items, however, can appear disabled, depending on the column's settings.

The image below displays a sample column header menu.

See the table below for descriptions of this menu's items.

Menu Item Description
Sort Ascending Sorts data by the values of a column, in ascending order. The item is disabled if the context menu has been activated by clicking the header panel's empty space. It is enabled if the clicked column's TreeListOptionsColumn.AllowSort option is enabled.
Sort Descending Sorts data by the values of a column, in descending order. The item is disabled if the context menu has been activated by clicking the header panel's empty space. It is enabled if the clicked column's TreeListOptionsColumn.AllowSort option is enabled.
Column Chooser Invokes the Customization Form.
Best Fit Changes the width of a column to fit the contents of its cells (equivalent to calling the TreeListColumn.BestFit method for the column). It is disabled if the context menu has been activated by clicking the header panel's empty space.
Best Fit (all columns) Changes the width of all columns to fit the contents of their cells (equivalent to calling the TreeList.BestFitColumns method).

Expanded The Group Footer Menu

This menu can be invoked by right-clicking a group footer. It allows a group summary to be applied or cleared.

See the table below for descriptions of these menu's items.

Menu Item Description
Sum Calculates the sum of a column's values. Available for numeric columns only.
Min Returns the minimum of the column's values.
Max Returns the maximum of the column's values.
Count Calculates the number of rows affected by the group summary.
Average Calculates the average of the column's values. Available for numeric columns only.
None Cancels summary calculations.

 

Expanded The Summary Footer Menu

This menu is invoked when right-clicking the summary footer. It allows end-users to apply total summaries to a column, and to cancel summary calculations.

The menu contains all the items of the Group Footer Menu plus one additional item:

Menu Item Description
All Nodes Switches the calculation of the current summary against all nodes, or only against root-level nodes.

Expanded See Also

How would you rate this topic?​​​​​​​