UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFilterRowCell

    Show / Hide Table of Contents

    Class GridFilterRowCell

    Represents a class that loads FilteRowCell for FilterRow.

    Inheritance
    System.Object
    GridCell
    GridFilterRowCell
    Implements
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    IGridFilterRowCell
    Inherited Members
    GridCell.ErrorMessageProperty
    GridCell.CurrentCellBorderVisibilityProperty
    GridCell.CurrentCellBorderThicknessProperty
    GridCell.CurrentCellBorderBrushProperty
    GridCell.SelectionBorderVisibilityProperty
    GridCell.CellSelectionBrushProperty
    GridCell.SelectionForegroundBrushProperty
    GridCell.ShowContextMenu(Point)
    GridCell.OnColumnChanged()
    GridCell.ApplyGridCellVisualStates(String, Boolean)
    GridCell.OnPointerEntered(PointerRoutedEventArgs)
    GridCell.OnPointerPressed(PointerRoutedEventArgs)
    GridCell.OnPointerReleased(PointerRoutedEventArgs)
    GridCell.OnPointerMoved(PointerRoutedEventArgs)
    GridCell.OnDoubleTapped(DoubleTappedRoutedEventArgs)
    GridCell.OnTapped(TappedRoutedEventArgs)
    GridCell.OnHolding(HoldingRoutedEventArgs)
    GridCell.OnRightTapped(RightTappedRoutedEventArgs)
    GridCell.CanSelectCurrentCell()
    GridCell.Dispose()
    GridCell.ColumnBase
    GridCell.HasError
    GridCell.CurrentCellBorderVisibility
    GridCell.ErrorMessage
    GridCell.CurrentCellBorderThickness
    GridCell.CurrentCellBorderBrush
    GridCell.SelectionBorderVisibility
    GridCell.CellSelectionBrush
    GridCell.SelectionForegroundBrush
    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 Description
    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 Description
    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 Description
    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 Description
    Windows.UI.Xaml.Controls.ListBox

    HorizontalOffsetProperty

    Dependency property Registration for HorizontalOffset

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

    VerticalOffsetProperty

    Dependency property Registration for VerticalOffset

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

    Properties

    DataColumn

    Returns the DataColumn of the corresponding GridFilterRowCell.

    Declaration
    public DataColumnBase DataColumn { get; }
    Property Value
    Type Description
    DataColumnBase

    FilterOptionButtonVisibility

    Gets or sets the Visibility of the FilterOptionButton.

    Declaration
    public Visibility FilterOptionButtonVisibility { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Visibility

    HorizontalOffset

    Gets or sets HorizontalOffset for the Popup.

    Declaration
    public double HorizontalOffset { get; set; }
    Property Value
    Type Description
    System.Double

    IsDropDownOpen

    Returns whethter the FilterOption drop down is in open or not.

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

    VerticalOffset

    Gets or sets the VerticalOffset for Popup.

    Declaration
    public double VerticalOffset { get; set; }
    Property Value
    Type Description
    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
    GridCell.ApplyValidationVisualState(Boolean)

    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
    GridCell.Dispose(Boolean)

    GetFilterOptionsList()

    Populates the FilterOption list which will loaded in FilterOptionPopup.

    Declaration
    protected ObservableCollection<string> GetFilterOptionsList()
    Returns
    Type Description
    System.Collections.ObjectModel.ObservableCollection<System.String>

    OnApplyTemplate()

    Invoked to apply template for GridCell.

    Declaration
    protected override void OnApplyTemplate()
    Overrides
    GridCell.OnApplyTemplate()

    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
    GridCell.OnDataColumnPropertyChanged(String)

    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 Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    IGridFilterRowCell

    Extension Methods

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