[]
Displays and edits date and/or time values. Includes a dropdown calendar for easy input of datetime values.
[ToolboxBitmap(typeof(C1DateEdit), "C1DateEdit.png")]
public class C1DateEdit : C1DateEditBase, ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IDropDownEditorBase, IDropDownControlBase, ITextBoxHolder, IUiaExpandCollapseProvider, IInputEditor, IEmbeddedEditor
<ToolboxBitmap(GetType(C1DateEdit), "C1DateEdit.png")>
Public Class C1DateEdit
Inherits C1DateEditBase
Implements ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IDropDownEditorBase, IDropDownControlBase, ITextBoxHolder, IUiaExpandCollapseProvider, IInputEditor, IEmbeddedEditor
| Name | Description |
|---|---|
| C1DateEdit() | Initializes a new instance of the C1DateEdit class. |
| Name | Description |
|---|---|
| AllowSpinLoop | Gets or sets a value determines whether the spinner moves to the MinDate when it reaches the MaxDate, or to the MaxDate when it reaches the MinDate. |
| Calendar | Gets or sets the settings of drop down calendar. |
| RetainTimeOnDateChange | Gets or sets a value indicating whether to retain the current time value when the date is changed via the drop down calendar. |
| Styles | Gets or sets the C1DateEdit styles. |
| Name | Description |
|---|---|
| Dispose(bool) | Releases the unmanaged resources used by the C1DropDownControlBase control. |
| OnDateValueSelected(NullableDateTimeEventArgs) | Raises the DateValueSelected event. |
| OnDateValueSelecting(DateChangingEventArgs) | Raises the DateValueSelecting event. |
| OnUpDownButtonClick(UpDownButtonClickEventArgs) | Raises the UpDownButtonClick event. |
| SpinDown() | Performs spin down. |
| SpinDown(TimeSpan) | Performs spin down. |
| SpinUp() | Performs spin up. |
| SpinUp(TimeSpan) | Performs spin up. |
| Name | Description |
|---|---|
| DateValueSelected | Occurs when Date in drop-down calendar is selected. |
| DateValueSelecting | Occurs before Date in drop-down calendar will be selected. |