TreeListView.UseLightweightTemplates Property
In This Article
Gets or sets whether to enable the treelist’s optimized mode. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public UseLightweightTemplates? UseLightweightTemplates { get; set; }
#Property Value
Type | Description |
---|---|
Nullable<Use |
A Use |
Available values:
Name | Description |
---|---|
None | Lightweight templates are disabled. |
Row | Lightweight templates are enabled for grid rows. |
Group |
Lightweight templates are enabled for group rows. |
New |
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