GrapeCity.Win.MultiRow Namespace : DateTimePickerEditingControl Class |
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")> <EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public Class DateTimePickerEditingControl Inherits System.Windows.Forms.DateTimePicker Implements IEditingControl
Dim instance As DateTimePickerEditingControl
[ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] [EditorBrowsable(EditorBrowsableState.Advanced)] public class DateTimePickerEditingControl : System.Windows.Forms.DateTimePicker, IEditingControl
The DateTimePickerEditingControl class is a special type of System.Windows.Forms.DateTimePicker that implements the IEditingControl interface, allowing it to be hosted in a Cell when the cell is in edit mode. When a Cell is in edit mode, you can retrieve the DateTimePickerEditingControl through the GcMultiRow.EditingControl property of the GcMultiRow control.
Handle the GcMultiRow.EditingControlShowing event to perform custom initialization of the editing control when a cell enters edit mode. To customize the display characteristics of the control, set the properties of the object returned by the EditingControlShowingEventArgs.CellStyle property rather than setting the properties of the control returned by the EditingControlShowingEventArgs.Control property.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.DateTimePicker
GrapeCity.Win.MultiRow.DateTimePickerEditingControl
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2