wpf-devexpress-dot-xpf-dot-grid-dot-treelistcontrol.md
Gets or sets the view. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public TreeListView View { get; set; }
Public Property View As TreeListView
| Type | Description |
|---|---|
| TreeListView |
A TreeListView object that is the view used to display data.
|
The DXTreeList control does not actually display data itself. It uses a View to display data. To learn more, see TreeList View.
The following code snippets (auto-collected from DevExpress Examples) contain references to the View property.
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-tree-list-calculate-custom-node-summaries/CS/CustomNodeSummaries_CodeBehind/MainWindow.xaml#L12
<dxg:TreeListControl AutoGenerateColumns="AddNew" Name="grid">
<dxg:TreeListControl.View>
<dxg:TreeListView AutoExpandAllNodes="True" AutoWidth="True"
wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/MainWindow.xaml#L51
<dxg:TreeListControl.View>
<dxg:TreeListView x:Name="view" TreeDerivationMode="ChildNodesSelector" ChildNodesSelector="{StaticResource childrenSelector}" ShowIndicator="False" ShowColumnHeaders="False" AutoWidth="True" AllowPerPixelScrolling="False" CustomColumnDisplayText="view_CustomColumnDisplayText" />
wpf-spreadsheet-pivot-table-api-examples/CS/SpreadsheetWPFPivotTableExamples/MainWindow.xaml#L51
<dxg:TreeListControl.View>
<dxg:TreeListView x:Name="view" TreeDerivationMode="ChildNodesSelector" ChildNodesSelector="{StaticResource childrenSelector}" ShowIndicator="False" ShowColumnHeaders="False" AutoWidth="True" AllowPerPixelScrolling="False" CustomColumnDisplayText="view_CustomColumnDisplayText" />
wpf-richedit-document-api/CS/DXRichEditControlAPISample/MainWindow.xaml#L56
<dxg:TreeListControl.View>
<dxg:TreeListView x:Name="view" TreeDerivationMode="ChildNodesSelector" ChildNodesSelector="{StaticResource childrenSelector}" ShowIndicator="False" ShowColumnHeaders="False" AutoWidth="True" AllowPerPixelScrolling="False" CustomColumnDisplayText="view_CustomColumnDisplayText" />
wpf-tree-list-generate-node-summaries-from-collection/CS/TreeList_DataBinding/MainWindow.xaml#L30
<dxg:TreeListControl.View>
<dxg:TreeListView Name="treeListView1" AutoWidth="False" ShowTotalSummary="True"
See Also