Class GridPercentTextBox
Represents a textbox control that handles the percentage input and text validation.
Implements
System.ComponentModel.ISupportInitialize
System.Runtime.Serialization.ISerializable
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridPercentTextBox : PercentTextBox, IThemeProvider, ISupportInitialize, ISerializable, IVisualStyle
Constructors
GridPercentTextBox(PercentTextBoxCellRenderer)
Initializes a new instance of the GridPercentTextBox class.
Declaration
public GridPercentTextBox(PercentTextBoxCellRenderer parent)
Parameters
Type | Name | Description |
---|---|---|
PercentTextBoxCellRenderer | parent | Parent cell renderer object. |
Properties
ParentCell
Gets the associated cell renderer for the text box.
Declaration
public PercentTextBoxCellRenderer ParentCell { get; }
Property Value
Type |
---|
PercentTextBoxCellRenderer |
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