Back to Devexpress

TreeListView.AllowDefaultContentForHierarchicalDataTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-0ea694cb.md

latest2.2 KB
Original Source

TreeListView.AllowDefaultContentForHierarchicalDataTemplate Property

Gets or sets whether to use the default content if the TreeListView.DataRowTemplate and TreeListView.DataRowTemplateSelector properties return null.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to use the default content; otherwise, false.

|

Remarks

If both the TreeListView.DataRowTemplate and TreeListView.DataRowTemplateSelector properties are specified, data rows (nodes) are rendered using the template returned by the template selector. If the TreeListView.DataRowTemplateSelector property returns null , the template specified by the TreeListView.DataRowTemplate property is used. If the TreeListView.DataRowTemplate property returns null , the AllowDefaultContentForHierarchicalDataTemplate property specifies whether to use the default template or set a blank template.

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace