WPF

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

    Show / Hide Table of Contents

    Class GridFilterRowDateTimeRenderer

    Represents a class which handles the filter operation that loads the DateTimeEdit in a FilterRow.

    Inheritance
    System.Object
    GridCellRendererBase
    GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, DateTimeEdit>
    GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, DateTimeEdit>
    GridFilterRowCellRenderer<System.Windows.Controls.TextBlock, DateTimeEdit>
    GridFilterRowDateTimeRenderer
    Implements
    IGridCellRenderer
    System.IDisposable
    IGridFilterRowRenderer
    Inherited Members
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.IsValueChanged
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnPrepareUIElements()
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnRenderCell(DrawingContext, Rect, DataColumnBase, Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnInitializeDisplayElement(DataColumnBase, TextBlock, Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnInitializeEditElement(DataColumnBase, DateTimeEdit, Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.BeginEdit(RowColumnIndex, FrameworkElement, GridColumn, Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.InitializeCellStyle(DataColumnBase, Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnFilterRowConditionChanged(String)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.ProcessSingleFilter(Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.ProcessMultipleFilters(List<Object>, List<Object>)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.GetFilterText(List<FilterPredicate>)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.ApplyFilters(List<FilterPredicate>, String)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.GetFilterPredicates(Object)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.GetMultiSelectFilterPredicates(List<FilterRowElement>, List<FilterRowElement>)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.OnClearFilter(DataColumnBase)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.IGridFilterRowRenderer.ClearFilter(DataColumnBase)
    GridFilterRowCellRenderer<TextBlock, DateTimeEdit>.FilterRowCell
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.TextAlignmentToHorizontalAlignment(TextAlignment)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.CurrentRendererValueChanged()
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.ShouldGridTryToHandleKeyDown(KeyEventArgs)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.OnInitializeTemplateElement(DataColumnBase, ContentControl, Object)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.OnUpdateTemplateBinding(DataColumnBase, ContentControl, Object)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.OnUpdateDisplayBinding(DataColumnBase, TextBlock, Object)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.OnUpdateEditBinding(DataColumnBase, DateTimeEdit, Object)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.UpdateToolTip(DataColumnBase)
    GridVirtualizingCellRenderer<TextBlock, DateTimeEdit>.EditorType
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnPrepareUIElements(DataColumnBase, Object, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnEnteredEditMode(DataColumnBase, FrameworkElement)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.EndEdit(DataColumnBase, Object, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnEditingComplete(DataColumnBase, FrameworkElement)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUnloadUIElements(DataColumnBase)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnArrange(RowColumnIndex, FrameworkElement, Rect)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnRenderCellBorder(DrawingContext, Rect, Geometry, DataColumnBase, GridCell)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnRenderContent(DrawingContext, Rect, Geometry, DataColumnBase, GridCell, Object)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.DrawFormattedText(DrawingContext, Rect, Geometry, DataColumnBase, GridCell, String)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.DrawGlyphs(DrawingContext, Rect, Geometry, DataColumnBase, GridCell, String)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnRenderCurrentCell(DrawingContext, Rect, Geometry, DataColumnBase, GridCell)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUpdateBindingInfo(DataColumnBase, Object, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUpdateStyleInfo(DataColumnBase, Object)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnCreateEditUIElement()
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnCreateDisplayUIElement()
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.InitializeEditElement(DataColumnBase, DateTimeEdit, Object)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.InitializeDisplayElement(DataColumnBase, TextBlock, Object)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.InitializeTemplateElement(DataColumnBase, ContentControl, Object)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnWireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUnwireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnWireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUnwireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnWireEditUIElement(DateTimeEdit)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnUnwireEditUIElement(DateTimeEdit)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnEditElementLoaded(Object, RoutedEventArgs)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnEditElementUnloaded(Object, RoutedEventArgs)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnEditElementLostFocus(Object, RoutedEventArgs)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.ClearRecycleBin()
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.Dispose(Boolean)
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.OnCreateTemplateUIElement()
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.DisplayRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.EditRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.TemplateRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, DateTimeEdit>.AllowRecycle
    GridCellRendererBase.OnPrepareUIElements(DataColumnBase, Object, Boolean)
    GridCellRendererBase.OnPrepareUIElements()
    GridCellRendererBase.OnPreviewTextInput(TextCompositionEventArgs)
    GridCellRendererBase.CanValidate()
    GridCellRendererBase.CanUpdateBinding(GridColumn)
    GridCellRendererBase.CommitUnBoundCellValue(Object, GridColumn, Object)
    GridCellRendererBase.UpdateToolTip(DataColumnBase)
    GridCellRendererBase.OnArrange(RowColumnIndex, FrameworkElement, Rect)
    GridCellRendererBase.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    GridCellRendererBase.OnRenderCell(DrawingContext, Rect, DataColumnBase, Object)
    GridCellRendererBase.OnRenderCellBorder(DrawingContext, Rect, Geometry, DataColumnBase, GridCell)
    GridCellRendererBase.OnRenderContent(DrawingContext, Rect, Geometry, DataColumnBase, GridCell, Object)
    GridCellRendererBase.OnRenderCurrentCell(DrawingContext, Rect, Geometry, DataColumnBase, GridCell)
    GridCellRendererBase.OnUnloadUIElements(DataColumnBase)
    GridCellRendererBase.OnUpdateBindingInfo(DataColumnBase, Object, Boolean)
    GridCellRendererBase.OnUpdateStyleInfo(DataColumnBase, Object)
    GridCellRendererBase.SetFocus(FrameworkElement, Boolean)
    GridCellRendererBase.IGridCellRenderer.ShouldGridTryToHandleKeyDown(KeyEventArgs)
    GridCellRendererBase.Arrange(RowColumnIndex, FrameworkElement, Rect)
    GridCellRendererBase.RenderCell(DrawingContext, Rect, DataColumnBase, Object)
    GridCellRendererBase.Measure(RowColumnIndex, FrameworkElement, Size)
    GridCellRendererBase.PrepareUIElements(DataColumnBase, Object, Boolean)
    GridCellRendererBase.UnloadUIElements(DataColumnBase)
    GridCellRendererBase.IGridCellRenderer.UpdateBindingInfo(DataColumnBase, Object, Boolean)
    GridCellRendererBase.UpdateBindingInfo(DataColumnBase, Object, Boolean)
    GridCellRendererBase.UpdateCellStyle(DataColumnBase, Object)
    GridCellRendererBase.PreviewTextInput(TextCompositionEventArgs)
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, FrameworkElement, Boolean, Boolean, GridColumn, DataColumnBase)
    GridCellRendererBase.UpdateCurrentCellState(FrameworkElement, Boolean)
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
    GridCellRendererBase.RaiseCurrentCellValidatedEvent(SfDataGrid, GridColumn, Object, Object)
    GridCellRendererBase.RaiseCurrentCellValueChangedEvent(SfDataGrid, DataColumnBase)
    GridCellRendererBase.BeginEdit(RowColumnIndex, FrameworkElement, GridColumn, Object)
    GridCellRendererBase.EndEdit(DataColumnBase, Object, Boolean)
    GridCellRendererBase.UpdateSource(FrameworkElement)
    GridCellRendererBase.ClearRecycleBin()
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Dispose(Boolean)
    GridCellRendererBase.PreviewInputText
    GridCellRendererBase.DataGrid
    GridCellRendererBase.BindingExpression
    GridCellRendererBase.SupportsRenderOptimization
    GridCellRendererBase.UseOnlyRendererElement
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellElement
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.IsInEditing
    GridCellRendererBase.IsFocused
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusible
    GridCellRendererBase.IsDropDownable
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Grid.RowFilter
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class GridFilterRowDateTimeRenderer : GridFilterRowCellRenderer<TextBlock, DateTimeEdit>, IGridCellRenderer, IDisposable, IGridFilterRowRenderer

    Constructors

    GridFilterRowDateTimeRenderer()

    Initializes a new instance of the class.

    Declaration
    public GridFilterRowDateTimeRenderer()

    Methods

    GetControlValue()

    Gets the control value.

    Declaration
    public override object GetControlValue()
    Returns
    Type Description
    System.Object

    The control value.

    Overrides
    GridCellRendererBase.GetControlValue()

    OnEditElementLoaded(Object, RoutedEventArgs)

    Called when [edit element loaded].

    Declaration
    protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The sender.

    System.Windows.RoutedEventArgs e

    The System.Windows.RoutedEventArgs instance containing the event data.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnEditElementLoaded(System.Object, System.Windows.RoutedEventArgs)

    OnEditingComplete(DataColumnBase, FrameworkElement)

    Invoked when the editing is completed on the cell.

    Declaration
    protected override void OnEditingComplete(DataColumnBase dataColumn, FrameworkElement currentRendererElement)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    The corresponding column.

    System.Windows.FrameworkElement currentRendererElement

    The corresponding renderer element.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnEditingComplete(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Windows.FrameworkElement)

    OnFilterRowConditionChanged(String)

    Process the filtering when the FilterRowCondition is changed in corresponding column.

    Declaration
    public override void OnFilterRowConditionChanged(string filterRowCondition)
    Parameters
    Type Name Description
    System.String filterRowCondition

    The new FilterRowCondition that have been changed.

    Overrides
    Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCellRenderer<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnFilterRowConditionChanged(System.String)

    OnInitializeDisplayElement(DataColumnBase, TextBlock, Object)

    Method which initialize the display element of the column.

    Declaration
    public override void OnInitializeDisplayElement(DataColumnBase dataColumn, TextBlock uiElement, object dataContext)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    Specifies the DataColumnBase.

    System.Windows.Controls.TextBlock uiElement

    Specifies the corresponding renderer element.

    System.Object dataContext

    Specifies the data context.

    Overrides
    Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCellRenderer<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Windows.Controls.TextBlock, System.Object)

    OnInitializeEditElement(DataColumnBase, DateTimeEdit, Object)

    Method which is used to initialize the renderer element bindings with corresponding column values.

    Declaration
    public override void OnInitializeEditElement(DataColumnBase dataColumn, DateTimeEdit uiElement, object filterValue)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    Specifies the corresponding DataColumnBase.

    DateTimeEdit uiElement

    Specifies the corresponding renderer element.

    System.Object filterValue

    Specifies the filter value of the row.

    Overrides
    Syncfusion.UI.Xaml.Grid.RowFilter.GridFilterRowCellRenderer<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.Windows.Shared.DateTimeEdit, System.Object)

    OnUnwireEditUIElement(DateTimeEdit)

    UnWire the wired events.

    Declaration
    protected override void OnUnwireEditUIElement(DateTimeEdit uiElement)
    Parameters
    Type Name Description
    DateTimeEdit uiElement
    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.OnUnwireEditUIElement(Syncfusion.Windows.Shared.DateTimeEdit)

    SetControlValue(Object)

    Sets the control value.

    Declaration
    public override void SetControlValue(object value)
    Parameters
    Type Name Description
    System.Object value

    The value.

    Overrides
    GridCellRendererBase.SetControlValue(Object)

    ShouldGridTryToHandleKeyDown(KeyEventArgs)

    Let Renderer decide whether the parent grid should be allowed to handle keys and prevent the key event from being handled by the visual UIElement for this renderer. If this method returns true the parent grid will handle arrow keys and set the Handled flag in the event data. Keys that the grid does not handle will be ignored and be routed to the UIElement for this renderer.

    Declaration
    protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    A System.Windows.Input.KeyEventArgs object.

    Returns
    Type Description
    System.Boolean

    True if the parent grid should be allowed to handle keys; false otherwise.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.DateTimeEdit>.ShouldGridTryToHandleKeyDown(System.Windows.Input.KeyEventArgs)

    Implements

    IGridCellRenderer
    System.IDisposable
    IGridFilterRowRenderer
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved