Skip to main content
A newer version of this page is available. .

TreeListView.FormatConditionsSource Property

Gets or set a list of conditional formats applied to the treelist view.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public IEnumerable FormatConditionsSource { get; set; }

Property Value

Type Description
IEnumerable

The source from which the grid generates conditional formats.

Remarks

The TreeListView supports binding to a collection of objects containing conditional format settings. You can describe this collection of objects in Model or ViewModel.

The TreeListView generates conditional formats based on conditional format templates. To choose the required template based on the conditional format type, use the Template Selector assigned to the TreeListView.FormatConditionGeneratorTemplateSelector property.

If all conditional formats can be described using a single template, you have no need to create a conditional format template selector. Instead, assign this template to the grid view’s TreeListView.FormatConditionGeneratorTemplate property.

See the Binding to a Collection of Conditional Formatting Rules topic to learn more.

See Also