alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class FilterRowDateTimeCellRenderer

    Represents the class that used to draw the date time filter row cell.

    Inheritance
    System.Object
    GridCellRendererBase
    GridVirtualizingCellRendererBase<SfDateTimeEdit>
    FilterRowCellRenderer<SfDateTimeEdit>
    FilterRowDateTimeCellRenderer
    Implements
    IGridCellRenderer<TableControl>
    System.IDisposable
    IFilterRowRenderer
    Inherited Members
    FilterRowCellRenderer<SfDateTimeEdit>.ApplyFilters(List<FilterPredicate>, String)
    FilterRowCellRenderer<SfDateTimeEdit>.CloseFilterOptionPopup()
    FilterRowCellRenderer<SfDateTimeEdit>.DataColumn
    FilterRowCellRenderer<SfDateTimeEdit>.Dispose(Boolean)
    FilterRowCellRenderer<SfDateTimeEdit>.DrawDropDownButton(Graphics, Rectangle, Color)
    FilterRowCellRenderer<SfDateTimeEdit>.FilterOptionPopup
    FilterRowCellRenderer<SfDateTimeEdit>.FilterOptionsList
    FilterRowCellRenderer<SfDateTimeEdit>.GetCellValue()
    FilterRowCellRenderer<SfDateTimeEdit>.GetFilterOptionsList()
    FilterRowCellRenderer<SfDateTimeEdit>.GetFilterPredicates(Object)
    FilterRowCellRenderer<SfDateTimeEdit>.GetFilterText(List<FilterPredicate>)
    FilterRowCellRenderer<SfDateTimeEdit>.GetMultiSelectFilterPredicates(List<FilterElement>, List<FilterElement>)
    FilterRowCellRenderer<SfDateTimeEdit>.IsDroppedDown
    FilterRowCellRenderer<SfDateTimeEdit>.IsValueChanged
    FilterRowCellRenderer<SfDateTimeEdit>.OnFilterOptionsClick(Object, EventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OnFilterOptionsListMouseMove(Object, MouseEventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OnMouseDown(DataColumnBase, RowColumnIndex, MouseEventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OnMouseHoverLeave(DataColumnBase, RowColumnIndex, MouseEventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OnMouseMove(DataColumnBase, RowColumnIndex, MouseEventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OnMouseUp(DataColumnBase, RowColumnIndex, MouseEventArgs)
    FilterRowCellRenderer<SfDateTimeEdit>.OpenFilterOptionPopup()
    FilterRowCellRenderer<SfDateTimeEdit>.ProcessMultipleFilters(List<Object>, List<Object>)
    FilterRowCellRenderer<SfDateTimeEdit>.ProcessSingleFilter(Object)
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.Dispose()
    GridCellRendererBase.DrawErrorIcon(Graphics, Rectangle, Bitmap, RowColumnIndex)
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.IGridCellRenderer<TableControl>.OnDrawCurrentCell(Graphics, SfDataGrid, RowColumnIndex)
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusable
    GridCellRendererBase.IsFocused
    GridCellRendererBase.IsHovered
    GridCellRendererBase.IsInEditing
    GridCellRendererBase.IsPressed
    GridCellRendererBase.KeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.KeyPress(DataColumnBase, RowColumnIndex, KeyPressEventArgs)
    GridCellRendererBase.KeyUp(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.MouseDoubleClick(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseDown(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseHover(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseHoverLeave(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseMove(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseUp(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnDrawCurrentCell(Graphics, SfDataGrid, RowColumnIndex)
    GridCellRendererBase.OnDrawErrorIcon(Graphics, Rectangle, Bitmap, RowColumnIndex)
    GridCellRendererBase.OnKeyUp(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.OnMouseDoubleClick(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnMouseHover(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnUpdateEditElement(DataColumnBase, Control, Rectangle)
    GridCellRendererBase.Render(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.SetControlValue(Object)
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, Control, Boolean, Boolean)
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.SetFocus(Control, Boolean)
    GridCellRendererBase.ShowValidationErrorToolTip(SfToolTip, DataColumnBase, RowColumnIndex, Point)
    GridCellRendererBase.TableControl
    GridCellRendererBase.UnloadUIElement()
    GridCellRendererBase.UpdateCurrentCellState(Control, Boolean)
    GridCellRendererBase.UpdateEditElement(DataColumnBase, Control, Rectangle)
    GridVirtualizingCellRendererBase<SfDateTimeEdit>.BeginEdit(DataColumnBase, RowColumnIndex)
    GridVirtualizingCellRendererBase<SfDateTimeEdit>.EndEdit(DataColumnBase, RowColumnIndex)
    GridVirtualizingCellRendererBase<SfDateTimeEdit>.InitializeEditElement(DataColumnBase, RowColumnIndex, SfDateTimeEdit)
    GridVirtualizingCellRendererBase<SfDateTimeEdit>.OnCreateEditUIElement()
    GridVirtualizingCellRendererBase<SfDateTimeEdit>.OnEnteredEditMode(SfDateTimeEdit)
    Namespace: Syncfusion.WinForms.DataGrid.RowFilter
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class FilterRowDateTimeCellRenderer : FilterRowCellRenderer<SfDateTimeEdit>, IGridCellRenderer<TableControl>, IDisposable, IFilterRowRenderer

    Constructors

    FilterRowDateTimeCellRenderer()

    Declaration
    public FilterRowDateTimeCellRenderer()

    Methods

    CanValidate()

    Overridden to cancel the validation of the date time filter row cell.

    Declaration
    public override bool CanValidate()
    Returns
    Type Description
    System.Boolean

    Returns true when the validation need to be performed; Otherwise return false.

    Overrides
    GridCellRendererBase.CanValidate()

    GetControlValue()

    Overridden to get the control value for the filter row cell renderer.

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

    Returns the value of the cell.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.GetControlValue()

    GetEditorUIElementBounds()

    Overridden to gets the editor bounds of the date time edit control.

    Declaration
    protected override Rectangle GetEditorUIElementBounds()
    Returns
    Type Description
    System.Drawing.Rectangle

    Returns the bounds of the editor control.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.GetEditorUIElementBounds()

    OnEditingComplete(DataColumnBase, SfDateTimeEdit)

    Overridden to update the editing complete of the cell.

    Declaration
    protected override void OnEditingComplete(DataColumnBase column, SfDateTimeEdit currentRendererElement)
    Parameters
    Type Name Description
    DataColumnBase column

    The DataColumnBase.

    SfDateTimeEdit currentRendererElement

    The editor control of the cell.

    Overrides
    Syncfusion.WinForms.DataGrid.Renderers.GridVirtualizingCellRendererBase<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnEditingComplete(Syncfusion.WinForms.DataGrid.DataColumnBase, Syncfusion.WinForms.Input.SfDateTimeEdit)

    OnFilterRowConditionChanged(String)

    Overridden to update the filter row condition for the date time filter row cell.

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

    The filter row condition of the column.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnFilterRowConditionChanged(System.String)

    OnInitializeEditElement(DataColumnBase, RowColumnIndex, SfDateTimeEdit)

    Overridden to initialize the edit element of the date time filter row cell.

    Declaration
    protected override void OnInitializeEditElement(DataColumnBase column, RowColumnIndex rowColumnIndex, SfDateTimeEdit uiElement)
    Parameters
    Type Name Description
    DataColumnBase column

    The DataColumnBase of the cell.

    RowColumnIndex rowColumnIndex

    The RowColumnIndex of the cell.

    SfDateTimeEdit uiElement

    The SfDateTimeEdit element of the cell.

    Overrides
    Syncfusion.WinForms.DataGrid.Renderers.GridVirtualizingCellRendererBase<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnInitializeEditElement(Syncfusion.WinForms.DataGrid.DataColumnBase, Syncfusion.WinForms.GridCommon.ScrollAxis.RowColumnIndex, Syncfusion.WinForms.Input.SfDateTimeEdit)

    OnKeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)

    Overridden to update the key down event for the dateTime edit control.

    Declaration
    protected override void OnKeyDown(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, KeyEventArgs e)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    The DataColumnBase of the cell.

    RowColumnIndex rowColumnIndex

    The row and column index of the cell.

    System.Windows.Forms.KeyEventArgs e

    The System.Windows.Forms.KeyEventArgs that contains the event data.

    Overrides
    GridCellRendererBase.OnKeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)

    OnKeyPress(DataColumnBase, RowColumnIndex, KeyPressEventArgs)

    Occurs when the key is pressed while the cell has focus.

    Declaration
    protected override void OnKeyPress(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, KeyPressEventArgs e)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    The DataColumnBase of the cell.

    RowColumnIndex rowColumnIndex

    The row and column index of the cell.

    System.Windows.Forms.KeyPressEventArgs e

    The System.Windows.Forms.KeyEventArgs that contains the event data.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnKeyPress(Syncfusion.WinForms.DataGrid.DataColumnBase, Syncfusion.WinForms.GridCommon.ScrollAxis.RowColumnIndex, System.Windows.Forms.KeyPressEventArgs)

    OnRender(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)

    Overridden to date time draw the filter row cell renderer.

    Declaration
    protected override void OnRender(Graphics paint, Rectangle cellRect, string cellValue, CellStyleInfo style, DataColumnBase column, RowColumnIndex rowColumnIndex)
    Parameters
    Type Name Description
    System.Drawing.Graphics paint

    The Graphics of the control.

    System.Drawing.Rectangle cellRect

    The Bounds of the control.

    System.String cellValue

    The cell value to be displayed.

    CellStyleInfo style

    The cell style of the filter row.

    DataColumnBase column

    The DataColumnBase of the corresponding cell.

    RowColumnIndex rowColumnIndex

    The row column index of the cell.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnRender(System.Drawing.Graphics, System.Drawing.Rectangle, System.String, Syncfusion.WinForms.DataGrid.Styles.CellStyleInfo, Syncfusion.WinForms.DataGrid.DataColumnBase, Syncfusion.WinForms.GridCommon.ScrollAxis.RowColumnIndex)

    OnUnwireEditUIElement(SfDateTimeEdit)

    Overridden to unwire the edit element.

    Declaration
    protected override void OnUnwireEditUIElement(SfDateTimeEdit uiElement)
    Parameters
    Type Name Description
    SfDateTimeEdit uiElement

    The SfDateTimeEdit control.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnUnwireEditUIElement(Syncfusion.WinForms.Input.SfDateTimeEdit)

    OnWireEditUIElement(SfDateTimeEdit)

    Overridden to wire the value changed event of the edit element.

    Declaration
    protected override void OnWireEditUIElement(SfDateTimeEdit uiElement)
    Parameters
    Type Name Description
    SfDateTimeEdit uiElement

    The SfDateTimeEdit control.

    Overrides
    Syncfusion.WinForms.DataGrid.RowFilter.FilterRowCellRenderer<Syncfusion.WinForms.Input.SfDateTimeEdit>.OnWireEditUIElement(Syncfusion.WinForms.Input.SfDateTimeEdit)

    Implements

    IGridCellRenderer<T>
    System.IDisposable
    IFilterRowRenderer
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved