Class GridCellTextBoxRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.TextBox>
GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>
GridCellTextBoxRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellTextBoxRenderer : GridVirtualizingCellRenderer<TextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellTextBoxRenderer()
Initializes a new GridCellTextBoxRenderer.
Declaration
public GridCellTextBoxRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, TextBox, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, TextBox textBox, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
System.Windows.Controls.TextBox | textBox | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, System.Windows.Controls.TextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBox>.Dispose(System.Boolean)
GetControlTextFromEditorCore(TextBox)
Declaration
protected override string GetControlTextFromEditorCore(TextBox textBox)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBox | textBox |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.GetControlTextFromEditorCore(System.Windows.Controls.TextBox)
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(TextBox, GridRenderStyleInfo)
Declaration
public override void OnInitializeContent(TextBox textBox, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBox | textBox | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnInitializeContent(System.Windows.Controls.TextBox, 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)
OnResetFocus()
Declaration
protected override void OnResetFocus()
Overrides
OnSetFocus()
Declaration
protected override void OnSetFocus()
Overrides
OnUnwireUIElement(TextBox)
Unwire previously wired events from textBox.
Declaration
protected override void OnUnwireUIElement(TextBox textBox)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBox | textBox |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnUnwireUIElement(System.Windows.Controls.TextBox)
OnWireUIElement(TextBox)
Wire events from textBox
Declaration
protected override void OnWireUIElement(TextBox textBox)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.TextBox | textBox |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.OnWireUIElement(System.Windows.Controls.TextBox)
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
RefreshContent()
Refreshes the textbox cell.
Declaration
public override void RefreshContent()
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>.RefreshContent()
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
SubtractBorderMargins(Rect, Thickness)
Declaration
public Rect SubtractBorderMargins(Rect cellRect, Thickness mi)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | cellRect | |
System.Windows.Thickness | mi |
Returns
Type |
---|
System.Windows.Rect |
Implements
System.IDisposable