UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AdvancedFilterControl - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AdvancedFilterControl

    Represents a control that provides advanced filter options to filter the data.

    Inheritance
    System.Object
    AdvancedFilterControl
    Implements
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    IDataValidation
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class AdvancedFilterControl : ContentControl, IDisposable, INotifyPropertyChanged, IDataValidation

    Constructors

    AdvancedFilterControl()

    Declaration
    public AdvancedFilterControl()

    Fields

    CanGenerateUniqueItemsProperty

    Identifies the Syncfusion.UI.Xaml.Grid.AdvancedFilterControl.CanGenerateUniqueItems dependency property.

    Declaration
    public static readonly DependencyProperty CanGenerateUniqueItemsProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    FilterTypeComboItemsProperty

    Identifies the Syncfusion.UI.Xaml.Grid.AdvancedFilterControl.FilterTypeComboItems dependency property.

    Declaration
    public static readonly DependencyProperty FilterTypeComboItemsProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    Properties

    CanGenerateUniqueItems

    Gets or sets a value indicating whether all the unique items in the column are loaded or not.

    Declaration
    public bool CanGenerateUniqueItems { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if ComboBox is loaded in Advanced filter; false if TextBox is loaded that allows you to manually enter text for filtering. The default value is true.

    ComboItemsSource

    Declaration
    public ObservableCollection<FilterElement> ComboItemsSource { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<FilterElement>

    DateFilterValue1

    Gets or sets a value that indicates the DateFilterValue1 in AdvancedFilterControl.

    Declaration
    public object DateFilterValue1 { get; set; }
    Property Value
    Type Description
    System.Object

    An object that specifies DateFilterValue1.

    DateFilterValue2

    Gets or sets a value that indicates the DateFilterValue2 in AdvancedFilterControl.

    Declaration
    public object DateFilterValue2 { get; set; }
    Property Value
    Type Description
    System.Object

    An object that specifies DateFilterValue2.

    DatePickerVisibility

    Declaration
    public bool DatePickerVisibility { get; set; }
    Property Value
    Type Description
    System.Boolean

    Error

    Declaration
    public string Error { get; }
    Property Value
    Type Description
    System.String

    ErrorMessage1

    Declaration
    public string ErrorMessage1 { get; set; }
    Property Value
    Type Description
    System.String

    ErrorMessage2

    Declaration
    public string ErrorMessage2 { get; set; }
    Property Value
    Type Description
    System.String

    FilterSelectedItem1

    Gets or sets the Text of first filter combo box selected item

    Declaration
    public object FilterSelectedItem1 { get; set; }
    Property Value
    Type Description
    System.Object

    FilterSelectedItem2

    Gets or sets the Text of second filter combo box selected item

    Declaration
    public object FilterSelectedItem2 { get; set; }
    Property Value
    Type Description
    System.Object

    FilterType1

    Gets or sets a value that indicates the FilterType1 in AdvancedFilterControl.

    Declaration
    public string FilterType1 { get; set; }
    Property Value
    Type Description
    System.String

    A string that specifies FilterType1.

    FilterType2

    Gets or sets a value that indicates the FilterType2 in AdvancedFilterControl.

    Declaration
    public string FilterType2 { get; set; }
    Property Value
    Type Description
    System.String

    A string that specifies FilterType2.

    FilterTypeComboItems

    Gets or sets the ItemsSource for Filter type ComboBox.

    Declaration
    public object FilterTypeComboItems { get; set; }
    Property Value
    Type Description
    System.Object

    FilterValue1

    Gets or sets the Text of first Filter UIelement (UIElememt which support editing)

    Declaration
    public object FilterValue1 { get; set; }
    Property Value
    Type Description
    System.Object

    FilterValue2

    Gets or sets the Text of second Filter UIelement (UIElememt which support editing)

    Declaration
    public object FilterValue2 { get; set; }
    Property Value
    Type Description
    System.Object

    IsCaseSensitive1

    Gets or sets a value indicating whether first CaseSensitive button is clicked or not

    Declaration
    public bool IsCaseSensitive1 { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if CaseSensitive button is clicked; otherwise,false. The default value is false.

    IsCaseSensitive2

    Gets or sets a value indicating whether second CaseSensitive button is clicked or not

    Declaration
    public bool IsCaseSensitive2 { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if CaseSensitive button is clicked; otherwise,false. The default value is false.

    IsORChecked

    Gets or sets a value indicating whether OR in radio button is checked or not.

    Declaration
    public Nullable<bool> IsORChecked { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    true if OR in radio button is checked; otherwise,false. The default value is true.

    Item[String]

    Declaration
    public string this[string columnName] { get; }
    Parameters
    Type Name Description
    System.String columnName
    Property Value
    Type Description
    System.String

    Methods

    Dispose()

    Disposes all the resources used by the AdvancedFilterControl class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the AdvancedFilterControl class.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    Indicates whether the call is from Dispose method or from a finalizer.

    GetFirstFilterValue()

    Get the first filter value.

    Declaration
    public virtual object GetFirstFilterValue()
    Returns
    Type Description
    System.Object

    Filter value.

    GetSecondFilterValue()

    Get the second filter value.

    Declaration
    public virtual object GetSecondFilterValue()
    Returns
    Type Description
    System.Object

    Filter value.

    OnApplyTemplate()

    Builds the visual tree for the AdvancedFilterControl when a new template is applied.

    Declaration
    protected override void OnApplyTemplate()

    OnPropertyChanged(String)

    Declaration
    public void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    IDataValidation

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved