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

An item that is used when displaying distinct values in the DataGridDistinctValuesFilterView. This item carries information about the associated distinct value and whether or not it is selected, i.e. whether or not the distinct value should be included in the DataGridDistinctValuesFilterView.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DistinctValueItem : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseDistinctValueItem

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

C#
public DistinctValueItem()

Properties

Gets or sets a value indicating whether the item is selected, i.e. whether the associated distinct value should be added to the DataGridDistinctValuesFilterView when the DataGridFilterControlBase is constructing the filter descriptor.

C#
public bool IsSelected { get; set; }

Gets or sets the user-friendly text of the value, i.e. the formatted value.

C#
public string Text { get; set; }

Gets or sets the distinct value this item is associated with.

C#
public object Value { get; set; }