Class GridCellCurrencyEditCellRenderer
Implements the renderer part of a currency edit cell.
Inheritance
System.Object
GridCellCurrencyEditCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellCurrencyEditCellRenderer : GridVirtualizingCellRenderer<CurrencyTextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellCurrencyEditCellRenderer()
Initializes a new GridCellCurrencyEditCellRenderer object for the given cell.
Declaration
public GridCellCurrencyEditCellRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, CurrencyTextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, CurrencyTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
CurrencyTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.CurrencyTextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.CurrencyTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(CurrencyTextBox)
Declaration
protected override string GetControlTextFromEditorCore(CurrencyTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBox | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.GetControlTextFromEditorCore(Syncfusion.Windows.Shared.CurrencyTextBox)
GetControlValueFromEditorCore(CurrencyTextBox)
Declaration
protected override object GetControlValueFromEditorCore(CurrencyTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBox | uiElement |
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.GetControlValueFromEditorCore(Syncfusion.Windows.Shared.CurrencyTextBox)
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(CurrencyTextBox, GridRenderStyleInfo)
Initializes the content of the currency cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(CurrencyTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBox | uiElement | The currency text box. |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.OnInitializeContent(Syncfusion.Windows.Shared.CurrencyTextBox, 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(CurrencyTextBox)
Declaration
protected override void OnUnwireUIElement(CurrencyTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.OnUnwireUIElement(Syncfusion.Windows.Shared.CurrencyTextBox)
OnWireUIElement(CurrencyTextBox)
Declaration
protected override void OnWireUIElement(CurrencyTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
CurrencyTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.OnWireUIElement(Syncfusion.Windows.Shared.CurrencyTextBox)
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Raises Grid Cell Click 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 reference to MouseControllerEventArgs. |
Overrides
RefreshContent()
Refreshes the current cell content.
Declaration
public override void RefreshContent()
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.CurrencyTextBox>.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