windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsview-d2e2d574.md
Gets or sets whether column headers are displayed.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[XtraSerializableProperty]
public virtual bool ShowColumns { get; set; }
<XtraSerializableProperty>
Public Overridable Property ShowColumns As Boolean
| Type | Description |
|---|---|
| Boolean |
true to display column headers; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowColumns |
|---|---|
| TreeList |
.OptionsView .ShowColumns
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowColumns 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.
winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/Form1.cs#L149
treeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnNewExampleSelected);
treeList.OptionsView.ShowColumns = false;
treeList.OptionsView.ShowIndicator = false;
winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/Form1.cs#L137
treeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnNewExampleSelected);
treeList.OptionsView.ShowColumns = false;
treeList.OptionsView.ShowIndicator = false;
winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L312
treeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnNewExampleSelected);
treeList.OptionsView.ShowColumns = false;
treeList.OptionsView.ShowIndicator = false;
winforms-richeditcontrol-common-api/CS/RichEditAPISample/Form1.cs#L416
treeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnNewExampleSelected);
treeList.OptionsView.ShowColumns = false;
treeList.OptionsView.ShowIndicator = false;
winforms-richedit-document-api/CS/RichEditAPISample/Form1.cs#L406
treeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.OnNewExampleSelected);
treeList.OptionsView.ShowColumns = false;
treeList.OptionsView.ShowIndicator = false;
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/Form1.vb#L144
AddHandler treeList.FocusedNodeChanged, AddressOf OnNewExampleSelected
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False
winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/Form1.vb#L130
AddHandler treeList.FocusedNodeChanged, AddressOf OnNewExampleSelected
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False
winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/Form1.vb#L315
AddHandler treeList.FocusedNodeChanged, New FocusedNodeChangedEventHandler(AddressOf OnNewExampleSelected)
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False
winforms-richeditcontrol-common-api/VB/RichEditAPISample/Form1.vb#L408
AddHandler treeList.FocusedNodeChanged, AddressOf OnNewExampleSelected
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False
winforms-richedit-document-api/VB/RichEditAPISample/Form1.vb#L411
AddHandler treeList.FocusedNodeChanged, New FocusedNodeChangedEventHandler(AddressOf OnNewExampleSelected)
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False
See Also