Class GridMaskedEditBox
Adds grid cell-specific keyboard logic to a MaskedEditBox.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridMaskedEditBox : MaskedEditBox, IThemeProvider, ISupportInitialize, IVisualStyle, ISerializable
Constructors
GridMaskedEditBox(GridMaskEditCellRenderer)
Initializes a new GridMaskedEditBox and attaches it to a GridMaskEditCellRenderer.
Declaration
public GridMaskedEditBox(GridMaskEditCellRenderer parent)
Parameters
Type | Name | Description |
---|---|---|
GridMaskEditCellRenderer | parent | Parent cell renderer object. |
Properties
ParentCell
Gets the associated cell renderer for the text box.
Declaration
public GridMaskEditCellRenderer ParentCell { get; }
Property Value
Type |
---|
GridMaskEditCellRenderer |
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 System.Windows.Forms.Message 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 System.Windows.Forms.Message message data. |
Returns
Type | Description |
---|---|
System.Boolean | True if the key is handled; False otherwise. |
Overrides
WndProc(ref Message)
Overridden to process windows message.
Declaration
protected override void WndProc(ref Message msg)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | msg | The System.Windows.Forms.Message |