Class MyDateTimePicker
Defines a custom DateTimePicker control that can be embedded in a grid cell.
Implements
System.ComponentModel.ISupportInitialize
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
[CLSCompliant(false)]
public class MyDateTimePicker : DateTimePickerAdv, IThemeProvider, INonClientPaintingSupport, ISupportInitialize, IThemedControl, IVisualStyle, ISupportCulture
Constructors
MyDateTimePicker()
Initializes a new instance of the MyDateTimePicker class.
Declaration
public MyDateTimePicker()
Fields
keyPressed
To handle key pressed state.
Declaration
public bool keyPressed
Field Value
Type |
---|
System.Boolean |
Methods
ProcessCmdKey(ref Message, Keys)
Passes the enter key back to the grid and trigger change event on other keystrokes.
Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | msg | The MSG value. |
System.Windows.Forms.Keys | keyData | The key data. |
Returns
Type | Description |
---|---|
System.Boolean | return boolean value, true if the character was processed by the control; otherwise, false. |
Overrides
Implements
System.ComponentModel.ISupportInitialize