New to Telerik UI for .NET MAUIStart a free 30-day trial

The view that is used inside the filter view of the RadDataGrid to display a list of distinct values. This view encapsulates the logic for selecting all or none of the values. In its default template, this view contains a check-box that denotes wheter all, none, or some, of the values are selected. Clicking on this check-box also selects or deselects all items.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DataGridDistinctValuesFilterView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewDataGridDistinctValuesFilterView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the DataGridDistinctValuesFilterView class.

C#
public DataGridDistinctValuesFilterView()

Fields

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

Identifies the DistinctValuesMaximumHeight property.

C#
public static readonly BindableProperty DistinctValuesMaximumHeightProperty

Identifies the DistinctValuesMinimumHeight property.

C#
public static readonly BindableProperty DistinctValuesMinimumHeightProperty

DistinctValuesProperty

BindableProperty

Identifies the DistinctValues property.

C#
public static readonly BindableProperty DistinctValuesProperty

SelectAllProperty

BindableProperty

Identifies the SelectAll property.

C#
public static readonly BindableProperty SelectAllProperty

Properties

ControlTemplate

ControlTemplate

Gets or sets the control template of this view.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets the list of distinct values to be displayed.

C#
public ObservableItemCollection<DistinctValueItem> DistinctValues { get; set; }

Gets or sets the desired maximum height of the distinct values ItemsControl.

C#
public double DistinctValuesMaximumHeight { get; set; }

Gets or sets the desired minimum height of the distinct values ItemsControl.

C#
public double DistinctValuesMinimumHeight { get; set; }

Gets or sets a value indicating whether all, or none, or some, of the items are selected.

C#
public bool? SelectAll { get; set; }