[]
        
(Showing Draft Content)

C1.Win.Calendar.C1DateEdit

C1DateEdit Class

Displays and edits date and/or time values. Includes a dropdown calendar for easy input of datetime values.

Namespace: C1.Win.Calendar
Assembly: C1.Win.Calendar.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1DateEdit), "C1DateEdit.png")]
public class C1DateEdit : C1DropDownControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor

Constructors

Name Description
C1DateEdit()

Initializes a new instance of the C1DateEdit class.

Properties

Name Description
AllowSpinLoop

Determines whether the spinner moves to the MinDate when it reaches the MaxDate, or to the MaxDate when it reaches the MinDate.

Calendar

Gets the settings of drop down calendar.

DefaultDropDownFormClassName

Specifies form class that is used by default as the dropdown for the control.

DefaultThemeCalendarArrowColorPath
DefaultThemeCalendarBackColorPath
DefaultThemeCalendarBackgroundImageLayoutPath
DefaultThemeCalendarBackgroundImagePath
DefaultThemeCalendarBorderColorPath
DefaultThemeCalendarButtonsPath
DefaultThemeCalendarDayNamesColorPath
DefaultThemeCalendarDayNamesFontPath
DefaultThemeCalendarForeColorPath
DefaultThemeCalendarPath
DefaultThemeCalendarSelectionBackColorPath
DefaultThemeCalendarSelectionForeColorPath
DefaultThemeCalendarTitleBackColorPath
DefaultThemeCalendarTitleFontPath
DefaultThemeCalendarTitleForeColorPath
DefaultThemeCalendarTodayBorderColorPath
DefaultThemeCalendarTrailingForeColorPath
DefaultThemeRootPath

Default path

DefaultThemeVisualStylePath
FormatType

Enumeration value determining the formatting metod, including standard .NET format specifiers, custom and programmatic formatting.

InitialField

Determines the date-time field position when a control receives input focus. Default: Manual.

RetainTimeOnDateChange

Gets or sets a value indicating whether to retain the current time value when the date is changed via the drop down calendar.

Text
TypeRestriction

Methods

Name Description
Dispose(bool)

Releases the resources used by the C1DateEdit.

OnCultureInfoSetup(CultureInfoSetupEventArgs)

This method is for internal use only.

OnDropDownClosed(DropDownClosedEventArgs)

This method is for internal use only.

OnFontChanged(EventArgs)

Raises the System.Windows.Forms.Control.FontChanged event.

OnUpDownButtonClick(UpDownButtonClickEventArgs)

This method is for internal use only.

OnValueChanged(EventArgs)

This method is for internal use only.

OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

OpenDropDown()

Shows the dropdown.

SetCultureInfo(CultureInfo)

Sets culture.

SpinDown()

Performs spin down.

SpinDown(TimeSpan)

Performs spin down.

SpinUp()

Performs spin up.

SpinUp(TimeSpan)

Performs spin up.

UpdateDataType(Type)

This method is for internal use only.

UpdateSelection()

Updates selection of the text according to the InitialSelection property.