Class SpreadsheetGridCellTextBoxRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.TextBox>
GridVirtualizingCellRenderer<System.Windows.Controls.TextBox>
SpreadsheetGridCellTextBoxRenderer
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Spreadsheet
Assembly: Syncfusion.Spreadsheet.WPF.ClientProfile.dll
Syntax
public class SpreadsheetGridCellTextBoxRenderer : GridCellTextBoxRenderer, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
SpreadsheetGridCellTextBoxRenderer()
Declaration
public SpreadsheetGridCellTextBoxRenderer()
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetControlTextCore(GridRenderStyleInfo, Object)
Declaration
protected override string GetControlTextCore(GridRenderStyleInfo style, object cellValue)
Parameters
Type | Name | Description |
---|---|---|
GridRenderStyleInfo | style | |
System.Object | cellValue |
Returns
Type |
---|
System.String |
Overrides
OnGridPreviewTextInput(TextCompositionEventArgs)
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TextCompositionEventArgs | e |
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
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
OnSaveChanges()
Overridden to make sure the formula is recomputed as the changes are saved.
Declaration
protected override bool OnSaveChanges()
Returns
Type | Description |
---|---|
System.Boolean | True if the changes were saved. |
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