Class GridCellIntegerEditCellRenderer
Implements the renderer part an integer edit cell.
Inheritance
System.Object
GridCellIntegerEditCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellIntegerEditCellRenderer : GridVirtualizingCellRenderer<IntegerTextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellIntegerEditCellRenderer()
Declaration
public GridCellIntegerEditCellRenderer()
Methods
ApplyIntegerTextBoxProperties()
Declaration
protected virtual void ApplyIntegerTextBoxProperties()
ArrangeUIElement(ArrangeCellArgs, IntegerTextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, IntegerTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
IntegerTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.IntegerTextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.IntegerTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(IntegerTextBox)
Declaration
protected override string GetControlTextFromEditorCore(IntegerTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBox | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.IntegerTextBox>.GetControlTextFromEditorCore(Syncfusion.Windows.Shared.IntegerTextBox)
IsNegativeValue(Object)
Declaration
protected virtual bool IsNegativeValue(object cellValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | cellValue |
Returns
Type |
---|
System.Boolean |
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(IntegerTextBox, GridRenderStyleInfo)
Declaration
public override void OnInitializeContent(IntegerTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.IntegerTextBox>.OnInitializeContent(Syncfusion.Windows.Shared.IntegerTextBox, 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)
OnSetFocus()
Declaration
protected override void OnSetFocus()
Overrides
OnUnwireUIElement(IntegerTextBox)
Declaration
protected override void OnUnwireUIElement(IntegerTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.IntegerTextBox>.OnUnwireUIElement(Syncfusion.Windows.Shared.IntegerTextBox)
OnWireUIElement(IntegerTextBox)
Declaration
protected override void OnWireUIElement(IntegerTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.IntegerTextBox>.OnWireUIElement(Syncfusion.Windows.Shared.IntegerTextBox)
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Raises the GridCellClick event for the cell.
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Cell row index. |
System.Int32 | colIndex | Cell column index. |
MouseControllerEventArgs | e | A reference to MouseControllerEventArgs. |
Overrides
RefreshContent()
Refreshes the current cell content.
Declaration
public override void RefreshContent()
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.IntegerTextBox>.RefreshContent()
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