Class GridFilterRowCell
Represents a class that loads FilteRowCell for FilterRow.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.RowFilter
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridFilterRowCell : GridCell, IDisposable, INotifyPropertyChanged, IGridFilterRowCell
Constructors
GridFilterRowCell()
Initializes a new instance of GridFilterRowCell class.
Declaration
public GridFilterRowCell()
Fields
FilterOptionButton
Gets or sets the ToggleButton which opens the FilterOption popup.
Declaration
protected ToggleButton FilterOptionButton
Field Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.ToggleButton |
FilterOptionButtonVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCell.FilterOptionButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty FilterOptionButtonVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCell.FilterOptionButtonVisibility dependency property.
FilterOptionPopup
Gets or sets the Popup conrol which contains the FilterOptionsList.
Declaration
protected Popup FilterOptionPopup
Field Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.Popup |
FilterOptionsList
Gets or sets the ListBox control to load the FilterType list.
Declaration
protected ListBox FilterOptionsList
Field Value
Type |
---|
Windows.UI.Xaml.Controls.ListBox |
HorizontalOffsetProperty
Dependency property Registration for HorizontalOffset
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
VerticalOffsetProperty
Dependency property Registration for VerticalOffset
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
DataColumn
Returns the DataColumn of the corresponding GridFilterRowCell.
Declaration
public DataColumnBase DataColumn { get; }
Property Value
Type |
---|
DataColumnBase |
FilterOptionButtonVisibility
Gets or sets the Visibility of the FilterOptionButton.
Declaration
public Visibility FilterOptionButtonVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Visibility |
HorizontalOffset
Gets or sets HorizontalOffset for the Popup.
Declaration
public double HorizontalOffset { get; set; }
Property Value
Type |
---|
System.Double |
IsDropDownOpen
Returns whethter the FilterOption drop down is in open or not.
Declaration
public bool IsDropDownOpen { get; }
Property Value
Type |
---|
System.Boolean |
VerticalOffset
Gets or sets the VerticalOffset for Popup.
Declaration
public double VerticalOffset { get; set; }
Property Value
Type |
---|
System.Double |
Methods
ApplyValidationVisualState(Boolean)
Updates the Visual State of the GridCell based on the cell validation applied on SfDataGrid.
Declaration
protected override void ApplyValidationVisualState(bool canApplyDefaultState = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | canApplyDefaultState |
Overrides
CloseFilterOptionPopup()
Closes the FilterOptionPopup.
Declaration
public virtual void CloseFilterOptionPopup()
Dispose(Boolean)
Disposes all the resources GridFilterRowCell class.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
GetFilterOptionsList()
Populates the FilterOption list which will loaded in FilterOptionPopup.
Declaration
protected ObservableCollection<string> GetFilterOptionsList()
Returns
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
OnApplyTemplate()
Invoked to apply template for GridCell.
Declaration
protected override void OnApplyTemplate()
Overrides
OnDataColumnPropertyChanged(String)
Invoked when ColumnBase properties are changed.
Declaration
protected override void OnDataColumnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The name of the property which is changed. |
Overrides
OnKeyDown(KeyRoutedEventArgs)
Called before the KeyDown event occurs.
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.KeyRoutedEventArgs | e | The Windows.UI.Xaml.Input.KeyRoutedEventArgs instance contains the event data. |
OnPropertyChanged(String)
Notify property changed event.
Declaration
public void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
OpenFilterOptionPopup()
Opens the FilterOptionPopup with the FilterOptionList.
Declaration
public virtual void OpenFilterOptionPopup()
UnWireEvents()
UnWires the wired events.
Declaration
protected void UnWireEvents()
UpdateBinding()
Declaration
protected void UpdateBinding()
WireEvents()
Wires the required events.
Declaration
protected void WireEvents()
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |