[]
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 : C1DropDownEditorBase, ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IDropDownEditorBase, IDropDownControlBase, 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. |
| AutoChangePosition | Gets or sets a value indicating whether the position of the character is automatically changed |
| Calendar | Gets or sets the settings of drop down calendar. |
| CultureInfo | Get or sets current culture for the calendar. |
| FormatType | Gets or sets enumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting. |
| InitialField | Gets or sets a value determines the date-time field position when a control receives input focus. |
| LoopPosition | Gets or sets a value indicating whether the position of the caret is automatically moved to the first field when the last field is filled. |
| MinShortYear | The minimum year that can be entered without leading zeros. |
| 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. |
| WrapDateTimeFields | If this property is False the month will be automatically incremented when the user spins the date past the end of the month. The same about other parts of the date/time value. |
| Name | Description |
|---|---|
| BeforeDayTooltipShow | Occurs before the day tooltip is shown. |
| ClearButtonClick | Occurs when Clear button of the drop-down calendar is clicked. |
| DateValueSelected | Occurs when Date in drop-down calendar is selected. |
| DateValueSelecting | Occurs before Date in drop-down calendar will be selected. |
| DayFormatting | Occurs before applying styles to a day. |
| DisplayRangeChanged | Occurs when display range in drop-down calendar is changed. |