Back to Devexpress

TreeViewControl.AutoGenerateColumns Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-9da9e96c.md

latest1.5 KB
Original Source

TreeViewControl.AutoGenerateColumns Property

Not supported in the TreeViewControl.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public AutoGenerateColumnsMode AutoGenerateColumns { get; set; }
vb
<Browsable(False)>
Public Property AutoGenerateColumns As AutoGenerateColumnsMode

Property Value

Type
AutoGenerateColumnsMode

Available values:

NameDescription
None

Doesn’t create columns.

| | KeepOld |

Creates columns for all properties in a datasource if the grid doesn’t contain any columns.

| | AddNew |

Creates columns for all properties in a datasource, preserving the columns the grid already contains.

| | RemoveOld |

Creates columns for all properties in a datasource, removing columns the grid already contains.

|

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace