Interface IGridTextBoxControl
Provides interface for GridTextBoxControl and GridOriginalTextBoxControl for the text box that is shown in a GridTextBoxCellRenderer when the user starts editing the cell.
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public interface IGridTextBoxControl
Properties
Floatable
Gets or sets a value indicating whether the cell supports floating over another cell.
Declaration
bool Floatable { get; set; }
Property Value
Type |
---|
System.Boolean |
FloatDone
Gets or sets a value indicating whether the cell was floated over another cell after the user inserted text. Will be reset when the cell is redrawn.
Declaration
bool FloatDone { get; set; }
Property Value
Type |
---|
System.Boolean |
Initializing
Gets a value indicating whether BeginInit() was called.
Declaration
bool Initializing { get; }
Property Value
Type |
---|
System.Boolean |
IsSuspendEvents
Gets a value indicating whether raising events is temporarily disabled.
Declaration
bool IsSuspendEvents { get; }
Property Value
Type |
---|
System.Boolean |
ParentCell
Gets the associated cell renderer for the text box.
Declaration
GridCellRendererBase ParentCell { get; }
Property Value
Type |
---|
GridCellRendererBase |
TextBoxMargins
Gets the default text box margins.
Declaration
GridMargins TextBoxMargins { get; }
Property Value
Type |
---|
GridMargins |
Methods
BeginInit()
Suspends raising modified events until EndInit is called and set Initializing property to True. You should check Initializing in your cell renderer's implementation to see if changes in the text box are done because of initialization or user interaction.
Declaration
void BeginInit()
EndInit()
Resume raising modified events and resets the Initializing property.
Declaration
void EndInit()
ResumeEvents()
Resumes raising events.
Declaration
void ResumeEvents()
SuspendEvents()
Suspends raising events.
Declaration
void SuspendEvents()