Back to Devexpress

TreeListView.AutoPopulateServiceColumns Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-4a56727c.md

latest1.9 KB
Original Source

TreeListView.AutoPopulateServiceColumns Property

Gets or sets whether columns are automatically created for service fields in the underlying data source. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AutoPopulateServiceColumns { get; set; }
vb
Public Property AutoPopulateServiceColumns As Boolean

Property Value

TypeDescription
Boolean

true to automatically create columns for service fields in the underlying data source; otherwise, false.

|

Remarks

By default, service columns bound to the TreeListView.KeyFieldName and TreeListView.ParentFieldName data fields are not created. To automatically create columns for these data fields, enable the AutoPopulateServiceColumns option.

To learn more, see Binding to Self-Referential Data Structure.

See Also

AutoGenerateColumns

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace