Class GridIntegerTextBox
Represents a textbox control that handles the integer input and text validation.
Inheritance
System.Object
GridIntegerTextBox
Implements
System.ComponentModel.ISupportInitialize
System.Runtime.Serialization.ISerializable
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridIntegerTextBox : IntegerTextBox, IThemeProvider, ISupportInitialize, ISerializable, IVisualStyle
Constructors
GridIntegerTextBox(IntegerTextBoxCellRenderer)
Initializes a new instance of the GridIntegerTextBox class.
Declaration
public GridIntegerTextBox(IntegerTextBoxCellRenderer parent)
Parameters
Type | Name | Description |
---|---|---|
IntegerTextBoxCellRenderer | parent | Parent cell renderer object. |
Properties
ParentCell
Gets the associated cell renderer for the text box.
Declaration
public IntegerTextBoxCellRenderer ParentCell { get; }
Property Value
Type |
---|
IntegerTextBoxCellRenderer |
Methods
IsInputKey(Keys)
Determines whether the specified key is an input key or a special key that requires preprocessing.
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Keys | keyData | One of the key's values. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified key is an input key; otherwise, false. |
PreProcessMessage(ref Message)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
Declaration
public override bool PreProcessMessage(ref Message msg)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | msg | The Message. |
Returns
Type | Description |
---|---|
System.Boolean | True if they are preprocessed. |
ProcessKeyMessage(ref Message)
Intercepts the Key messages.
Declaration
protected override bool ProcessKeyMessage(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m | The message data. |
Returns
Type | Description |
---|---|
System.Boolean | True if the key is handled; False otherwise. |
Overrides
WndProc(ref Message)
Processes Windows messages.
Declaration
protected override void WndProc(ref Message msg)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | msg | The Windows System.Windows.Forms.Message to process. |
Overrides
Implements
System.ComponentModel.ISupportInitialize
System.Runtime.Serialization.ISerializable