Back to Devexpress

TreeListView.UseLightweightTemplates Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-63e96bbb.md

latest2.1 KB
Original Source

TreeListView.UseLightweightTemplates Property

Gets or sets whether to enable the treelist’s optimized mode. 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 UseLightweightTemplates? UseLightweightTemplates { get; set; }
vb
Public Property UseLightweightTemplates As UseLightweightTemplates?

Property Value

TypeDescription
Nullable<UseLightweightTemplates>

A UseLightweightTemplates enumeration value.

|

Available values:

NameDescription
None

Lightweight templates are disabled.

| | Row |

Lightweight templates are enabled for grid rows.

| | GroupRow |

Lightweight templates are enabled for group rows.

| | NewItemRow |

Lightweight templates are enabled for the new item row.

| | All |

Lightweight templates are enabled for all rows.

|

Remarks

When the UseLightweightTemplates property is null , lightweight templates are enabled for all rows (i.e. UseLightweightTemplates.All value).

To learn more, see Optimized Mode.

See Also

DisableOptimizedModeVerification

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace