Class GridFilterRowCell
Represents a class that loads FilteRowCell for FilterRow.
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.RowFilter
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridFilterRowCell : GridCell, IDisposable, INotifyPropertyChanged, IGridFilterRowCell
Constructors
GridFilterRowCell()
Initializes a new instance of GridFilterRowCell class.
Declaration
public GridFilterRowCell()
Fields
FilterOptionButtonVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCell.FilterOptionButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty FilterOptionButtonVisibilityProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCell.FilterOptionButtonVisibility dependency property.
HorizontalOffsetProperty
Dependency property Registration for HorizontalOffset
Declaration
public static readonly DependencyProperty HorizontalOffsetProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
VerticalOffsetProperty
Dependency property Registration for VerticalOffset
Declaration
public static readonly DependencyProperty VerticalOffsetProperty
Field Value
Type |
---|
Microsoft.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 |
---|
Microsoft.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
OnCreateAutomationPeer()
Returns a class-specific AutomationPeer Implementations for the Microsoft UI Automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | The class-specific AutomationPeer subclass. |
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 |
---|---|---|
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e | The Microsoft.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 |