wpf-devexpress-dot-xpf-dot-grid-a436a097.md
A column within a TreeListControl.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public class TreeListColumn :
GridColumnBase
Public Class TreeListColumn
Inherits GridColumnBase
The following members return TreeListColumn objects:
The TreeList control displays information from a data source as a tree. The TreeList control represents fields as columns, and records as nodes.
TreeList columns are encapsulated by TreeListColumn objects. These objects are stored within the TreeListControl.Columns collection.
To learn more, see Columns and Card Fields and Creating Columns and Binding Them to Data Properties.
The following code snippets (auto-collected from DevExpress Examples) contain references to the TreeListColumn class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-grid-read-only-and-enabled-binding/CS/MainWindow.xaml#L23
<dxg:TreeListControl.Columns>
<dxg:TreeListColumn FieldName="Name" Header="Task" Width="*"/>
<dxg:TreeListColumn FieldName="Employee" Header="Assignee" Width="150">
wpf-tree-list-generate-node-summaries-from-collection/CS/TreeList_DataBinding/MainWindow.xaml#L25
<dxg:TreeListControl.Columns>
<dxg:TreeListColumn FieldName="Name"/>
<dxg:TreeListColumn FieldName="Statistics"/>
wpf-tree-list-display-node-summaries/CS/TreeList_DataBinding/MainWindow.xaml#L15
<dxg:TreeListColumn FieldName="Name"/>
<dxg:TreeListColumn FieldName="Statistics"/>
wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/MainWindow.xaml#L48
<dxg:TreeListControl.Columns>
<dxg:TreeListColumn Header="Examples" FieldName="RegionName" AllowEditing="False" AllowBestFit="True" AllowDrop="False" AllowSearchPanel="False" />
</dxg:TreeListControl.Columns>
wpf-spreadsheet-pivot-table-api-examples/CS/SpreadsheetWPFPivotTableExamples/MainWindow.xaml#L48
<dxg:TreeListControl.Columns>
<dxg:TreeListColumn Header="Examples" FieldName="RegionName" AllowEditing="False" AllowBestFit="True" AllowDrop="False" AllowSearchPanel="False" />
</dxg:TreeListControl.Columns>
Show 11 items
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BaseColumn ColumnBase DevExpress.Xpf.Grid.GridColumnBase TreeListColumn GanttColumn
See Also