Class GridFilterRowCell
Represents a class that loads FilteRowCell for FilterRow.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid.RowFilter
Assembly: Syncfusion.SfGrid.WPF.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 |
---|
System.Windows.Controls.Primitives.ToggleButton |
FilterOptionButtonVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCell.FilterOptionButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty FilterOptionButtonVisibilityProperty
Field Value
Type |
---|
System.Windows.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 |
---|
System.Windows.Controls.Primitives.Popup |
FilterOptionsList
Gets or sets the ListBox control to load the FilterType list.
Declaration
protected ListBox FilterOptionsList
Field Value
Type |
---|
System.Windows.Controls.ListBox |
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 |
---|
System.Windows.Visibility |
IsDropDownOpen
Returns whethter the FilterOption drop down is in open or not.
Declaration
public bool IsDropDownOpen { get; }
Property Value
Type |
---|
System.Boolean |
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
public 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 |
---|---|
System.Windows.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
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 |