Class GridCellDateTimeEditCellRenderer
Implements the renderer part of a date time edit cell.
Inheritance
System.Object
GridCellDateTimeEditCellRenderer
Implements
System.IDisposable
Inherited Members
GridVirtualizingCellRenderer<DateTimeEdit>.RaiseGridPreviewMouseMove(RowColumnIndex, MouseEventArgs)
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellDateTimeEditCellRenderer : GridVirtualizingCellRenderer<DateTimeEdit>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellDateTimeEditCellRenderer()
Initializes a new GridCellDateTimeEditCellRenderer.
Declaration
public GridCellDateTimeEditCellRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, DateTimeEdit, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, DateTimeEdit uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
DateTimeEdit | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.DateTimeEdit>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.DateTimeEdit, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlValueFromEditorCore(DateTimeEdit)
Declaration
protected override object GetControlValueFromEditorCore(DateTimeEdit uiElement)
Parameters
Type | Name | Description |
---|---|---|
DateTimeEdit | uiElement |
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.DateTimeEdit>.GetControlValueFromEditorCore(Syncfusion.Windows.Shared.DateTimeEdit)
OnActivated()
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
Overrides
OnDeactivating()
Declaration
protected override bool OnDeactivating()
Returns
Type |
---|
System.Boolean |
Overrides
OnEditingComplete()
Declaration
protected override void OnEditingComplete()
Overrides
OnEnteredEditMode()
Declaration
protected override void OnEnteredEditMode()
Overrides
OnGridPreviewTextInput(TextCompositionEventArgs)
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TextCompositionEventArgs | e |
Overrides
OnInitialize()
Declaration
protected override void OnInitialize()
Overrides
OnInitializeContent(DateTimeEdit, GridRenderStyleInfo)
Initializes the content of the date time edit cell using the information from the cell style (value, text, behavior etc.). You must override this method in your derived class.
Declaration
public override void OnInitializeContent(DateTimeEdit uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
DateTimeEdit | uiElement | The date time edit control. |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.DateTimeEdit>.OnInitializeContent(Syncfusion.Windows.Shared.DateTimeEdit, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnRender(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
Declaration
protected override void OnRender(DrawingContext dc, RenderCellArgs rca, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | dc | |
RenderCellArgs | rca | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Cells.CellRendererBase<Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo>.OnRender(System.Windows.Media.DrawingContext, Syncfusion.Windows.Controls.Cells.RenderCellArgs, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnUnwireUIElement(DateTimeEdit)
Declaration
protected override void OnUnwireUIElement(DateTimeEdit uiElement)
Parameters
Type | Name | Description |
---|---|---|
DateTimeEdit | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.DateTimeEdit>.OnUnwireUIElement(Syncfusion.Windows.Shared.DateTimeEdit)
OnWireUIElement(DateTimeEdit)
Declaration
protected override void OnWireUIElement(DateTimeEdit uiElement)
Parameters
Type | Name | Description |
---|---|---|
DateTimeEdit | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.DateTimeEdit>.OnWireUIElement(Syncfusion.Windows.Shared.DateTimeEdit)
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | colIndex | |
MouseControllerEventArgs | e |
Overrides
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable