Class CheckboxFilterControl
Represents a control that provides excel like filter interface with list of check box’s.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class CheckboxFilterControl : ContentControl, IDisposable
Constructors
CheckboxFilterControl()
Declaration
public CheckboxFilterControl()
Fields
FilteredFromProperty
DependencyProperty Registration for FilteredFrom of GridFilterControl
Declaration
public static readonly DependencyProperty FilteredFromProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
HasItemsSourceProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.HasItemsSource dependency property.
Declaration
public static readonly DependencyProperty HasItemsSourceProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
IsItemSourceLoadedProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.IsItemSourceLoaded dependency property.
Declaration
public static readonly DependencyProperty IsItemSourceLoadedProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
ItemsSourceProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
ItemTemplateProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
SearchOptionVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.SearchOptionVisibility dependency property.
Declaration
public static readonly DependencyProperty SearchOptionVisibilityProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
SearchTextBlockVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Grid.CheckboxFilterControl.SearchTextBlockVisibility dependency property.
Declaration
public static readonly DependencyProperty SearchTextBlockVisibilityProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
Properties
FilteredFrom
Gets or sets FilteredFrom for GridFilterControl.
Declaration
public FilteredFrom FilteredFrom { get; set; }
Property Value
Type | Description |
---|---|
FilteredFrom |
HasItemsSource
Gets or sets a value that indicates whether CheckboxFilterControl has ItemsSource.
Declaration
public bool HasItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if CheckboxFilterControl has ItemsSource; otherwise,false. The default value is false. |
IsItemSourceLoaded
Gets or sets a value that indicates whether ItemsSource is loaded in CheckboxFilterControl.
Declaration
public bool IsItemSourceLoaded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if ItemsSource is loaded in CheckboxFilterControl; otherwise,false. The default value is false. |
ItemsSource
Gets or sets the collection that is used to generate the content of the CheckboxFilterControl.
Declaration
public object ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The collection that is used to generate the content of the CheckboxFilterControl.The default value is null. |
ItemTemplate
Gets or sets the template that is used to display the items in CheckBoxFilterControl.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | The template that is used to specify the visualization of the data objects.The default value is |
SearchOptionVisibility
Gets or sets a value indicating the SearchOption Visibility.
Declaration
public Visibility SearchOptionVisibility { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Visibility | One of the |
SearchTextBlockVisibility
Gets or sets a value indicating the Search watermark Visibility.
Declaration
public Visibility SearchTextBlockVisibility { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Visibility | One of the |
Methods
Dispose()
Disposes all the resources used by the CheckboxFilterControl class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the CheckboxFilterControl 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. |
OnApplyTemplate()
Builds the visual tree for the CheckboxFilterControl 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 |
SelectAllCheckBoxChecked
Occurs when the SelectAllCheckBox is checked
Declaration
public event EventHandler<SelectAllCheckBoxCheckedEventArgs> SelectAllCheckBoxChecked
Event Type
Type | Description |
---|---|
System.EventHandler<SelectAllCheckBoxCheckedEventArgs> |
SelectAllUnCheckBoxChecked
Occurs when the SelectAllCheckBox is unchecked
Declaration
public event EventHandler<SelectAllCheckBoxUnCheckedEventArgs> SelectAllUnCheckBoxChecked
Event Type
Type | Description |
---|---|
System.EventHandler<SelectAllCheckBoxUnCheckedEventArgs> |