GrapeCity MultiRow Windows Forms Documentation
DateTimePickerEditingControl Class
Members 


Represents the hosted date time picker control in a DateTimePickerCell.
Object Model
DateTimePickerEditingControl ClassGcMultiRow Class
Syntax
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Class DateTimePickerEditingControl 
   Inherits System.Windows.Forms.DateTimePicker
   Implements IEditingControl 
[ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public class DateTimePickerEditingControl : System.Windows.Forms.DateTimePicker, IEditingControl  
Remarks

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.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.DateTimePicker
               GrapeCity.Win.MultiRow.DateTimePickerEditingControl

Requirements

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

See Also

Reference

DateTimePickerEditingControl Members
GrapeCity.Win.MultiRow Namespace
DateTimePickerCell Class

 

 


Copyright © GrapeCity, inc. All rights reserved.