Class GridCellMaskEditCellRenderer
Implements the renderer part of a mask edit cell.
Inheritance
System.Object
GridCellMaskEditCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellMaskEditCellRenderer : GridVirtualizingCellRenderer<MaskedTextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellMaskEditCellRenderer()
Initializes a new GridCellMaskEditCellRenderer.
Declaration
public GridCellMaskEditCellRenderer()
Methods
ApplyMaskedEditProperties()
Declaration
protected virtual void ApplyMaskedEditProperties()
ArrangeUIElement(ArrangeCellArgs, MaskedTextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, MaskedTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
MaskedTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Shared.MaskedTextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Shared.MaskedTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(MaskedTextBox)
Declaration
protected override string GetControlTextFromEditorCore(MaskedTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
MaskedTextBox | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.MaskedTextBox>.GetControlTextFromEditorCore(Syncfusion.Windows.Shared.MaskedTextBox)
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(MaskedTextBox, GridRenderStyleInfo)
Declaration
public override void OnInitializeContent(MaskedTextBox uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
MaskedTextBox | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.MaskedTextBox>.OnInitializeContent(Syncfusion.Windows.Shared.MaskedTextBox, 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)
OnSaveChanges()
Declaration
protected override bool OnSaveChanges()
Returns
Type |
---|
System.Boolean |
Overrides
OnSetFocus()
Declaration
protected override void OnSetFocus()
Overrides
OnUnwireUIElement(MaskedTextBox)
Declaration
protected override void OnUnwireUIElement(MaskedTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
MaskedTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.MaskedTextBox>.OnUnwireUIElement(Syncfusion.Windows.Shared.MaskedTextBox)
OnWireUIElement(MaskedTextBox)
Declaration
protected override void OnWireUIElement(MaskedTextBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
MaskedTextBox | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Shared.MaskedTextBox>.OnWireUIElement(Syncfusion.Windows.Shared.MaskedTextBox)
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.MaskedTextBox>.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