Class GridCellPercentEditCellRenderer
Implements the renderer part of a percent edit cell.
Inheritance
System.Object
GridCellPercentEditCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellPercentEditCellRenderer : GridVirtualizingCellRenderer<PercentTextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellPercentEditCellRenderer()
Declaration
public GridCellPercentEditCellRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, PercentTextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, PercentTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
PercentTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.PercentTextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.PercentTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(PercentTextBox)
Declaration
protected override string GetControlTextFromEditorCore(PercentTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
PercentTextBox | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.PercentTextBox>.GetControlTextFromEditorCore(Syncfusion.Windows.Shared.PercentTextBox)
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(PercentTextBox, GridRenderStyleInfo)
Initializes the content of the percent edit cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(PercentTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
PercentTextBox | uiElement | The percent text box control. |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.PercentTextBox>.OnInitializeContent(Syncfusion.Windows.Shared.PercentTextBox, 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(PercentTextBox)
Declaration
protected override void OnUnwireUIElement(PercentTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
PercentTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.PercentTextBox>.OnUnwireUIElement(Syncfusion.Windows.Shared.PercentTextBox)
OnWireUIElement(PercentTextBox)
Declaration
protected override void OnWireUIElement(PercentTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
PercentTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.PercentTextBox>.OnWireUIElement(Syncfusion.Windows.Shared.PercentTextBox)
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
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