Back to Devexpress

TreeListOptionsView.ShowColumns Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsview-d2e2d574.md

latest6.5 KB
Original Source

TreeListOptionsView.ShowColumns Property

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

Declaration

csharp
[XtraSerializableProperty]
public virtual bool ShowColumns { get; set; }
vb
<XtraSerializableProperty>
Public Overridable Property ShowColumns As Boolean

Property Value

TypeDescription
Boolean

true to display column headers; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

csharp
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

csharp
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

csharp
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

csharp
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

csharp
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

vb
AddHandler treeList.FocusedNodeChanged, AddressOf OnNewExampleSelected
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False

winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/Form1.vb#L130

vb
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

vb
AddHandler treeList.FocusedNodeChanged, New FocusedNodeChangedEventHandler(AddressOf OnNewExampleSelected)
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False

winforms-richeditcontrol-common-api/VB/RichEditAPISample/Form1.vb#L408

vb
AddHandler treeList.FocusedNodeChanged, AddressOf OnNewExampleSelected
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False

winforms-richedit-document-api/VB/RichEditAPISample/Form1.vb#L411

vb
AddHandler treeList.FocusedNodeChanged, New FocusedNodeChangedEventHandler(AddressOf OnNewExampleSelected)
treeList.OptionsView.ShowColumns = False
treeList.OptionsView.ShowIndicator = False

See Also

TreeListOptionsView Class

TreeListOptionsView Members

DevExpress.XtraTreeList Namespace