Class
DataGridFilterControlBase

Represents a custom control used by the Filtering UI for applying filter description's values.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class DataGridFilterControlBase : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewDataGridFilterControlBase

Derived Classes: DataGridBooleanFilterControlDataGridTypedFilterControl

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

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

Constructors

DataGridFilterControlBase()

Initializes a new instance of the DataGridFilterControlBase class.

Declaration

cs-api-definition
public DataGridFilterControlBase()

Fields

ApplyFilterCommandProperty

Identifies the ApplyFilterCommand bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ApplyFilterCommandProperty

Field Value

BindableProperty

CloseCommandProperty

Identifies the CloseCommand bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty CloseCommandProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

DistinctValuesProperty

Identifies the DistinctValues bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty DistinctValuesProperty

Field Value

BindableProperty

ResetFilterCommandProperty

Identifies the ResetFilterCommand bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ResetFilterCommandProperty

Field Value

BindableProperty

Properties

ApplyFilterCommand

Gets or sets the command that applies the current filter settings.

Declaration

cs-api-definition
public ICommand ApplyFilterCommand { get; set; }

Property Value

ICommand

CloseCommand

Gets or sets the command that closes the filter control.

Declaration

cs-api-definition
public ICommand CloseCommand { get; set; }

Property Value

ICommand

ControlTemplate

Gets or sets the control template for the filter control.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

DistinctValues

Gets or sets the collection of distinct values used for filtering.

Declaration

cs-api-definition
public ObservableItemCollection<DistinctValueItem> DistinctValues { get; set; }

Property Value

ObservableItemCollection<DistinctValueItem>

PropertyName

Gets or sets the name of the property that will be used in the underlying PropertyFilterDescriptor.

Declaration

cs-api-definition
public string PropertyName { get; set; }

Property Value

string

ResetFilterCommand

Gets or sets the command that resets the current filter settings.

Declaration

cs-api-definition
public ICommand ResetFilterCommand { get; set; }

Property Value

ICommand

Methods

BuildDescriptor()

Builds the FilterDescriptorBase that describes the user input within this instance.

Declaration

cs-api-definition
public virtual FilterDescriptorBase BuildDescriptor()

Returns

FilterDescriptorBase

Initialize()

Initializes the control depending on the current associatedDescriptor value.

Declaration

cs-api-definition
protected virtual void Initialize()