Class GridCellUpDownCellRenderer
Implements the renderer part of an up down cell.
Inheritance
System.Object
GridCellUpDownCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellUpDownCellRenderer : GridVirtualizingCellRenderer<UpDown>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellUpDownCellRenderer()
Initializes a new GridCellUpDownCellRenderer.
Declaration
public GridCellUpDownCellRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, UpDown, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, UpDown uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
UpDown | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.UpDown>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.UpDown, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(UpDown)
Declaration
protected override string GetControlTextFromEditorCore(UpDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
UpDown | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.UpDown>.GetControlTextFromEditorCore(Syncfusion.Windows.Shared.UpDown)
GetControlValueFromEditorCore(UpDown)
Declaration
protected override object GetControlValueFromEditorCore(UpDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
UpDown | uiElement |
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.UpDown>.GetControlValueFromEditorCore(Syncfusion.Windows.Shared.UpDown)
OnActivated()
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
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(UpDown, GridRenderStyleInfo)
Initializes the content of the updown cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(UpDown uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
UpDown | uiElement | |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.UpDown>.OnInitializeContent(Syncfusion.Windows.Shared.UpDown, 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(UpDown)
Declaration
protected override void OnUnwireUIElement(UpDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
UpDown | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.UpDown>.OnUnwireUIElement(Syncfusion.Windows.Shared.UpDown)
OnWireUIElement(UpDown)
Declaration
protected override void OnWireUIElement(UpDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
UpDown | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.UpDown>.OnWireUIElement(Syncfusion.Windows.Shared.UpDown)
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Raises GridCellClick event.
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The cell row index. |
System.Int32 | colIndex | The cell column index. |
MouseControllerEventArgs | e | A MouseControllerEventArgs object. |
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