The C1DateTimeSelector type exposes the following members.

Constructors

  Name Description
Public method C1DateTimeSelector
Initializes a new instance of a C1DateTimeSelector.

Methods

  Name Description
Protected method OnApplyTemplate
Builds the visual tree for the C1DateTimeSelector control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().)
Protected method OnSelectedDateChanged
Raises the DateTime event.
Protected method RaisePropertyChanged
Raises the PropertyChanged event.
Public method UpdateCulture
Updates all culture-dependant values.

Fields

  Name Description
Public field Static member AllowNullProperty
Identifies the AllowNull dependency property.
Public field Static member DateFormatProperty
Identifies the DateFormat dependency property.
Public field Static member EditModeProperty
Identifies the EditMode dependency property.
Public field Static member MaxDateProperty
Identifies the MaxDate dependency property.
Public field Static member MinDateProperty
Identifies the MinDate dependency property.
Public field Static member SelectedDateProperty
Identifies the SelectedDate dependency property.

Properties

  Name Description
Public property AllowNull
Gets or sets whether the control accepts null values.
Public property DateFormat
Gets or sets the format string to use when converting the selected date to a string.
Public property EditMode
Defines edit mode.
Public property MaxDate
Gets or sets the maximum DateTime allowed for the C1DateTimeSelector.
Public property MinDate
Gets or sets the minimum DateTime value allowed for the C1DateTimeSelector.
Public property SelectedDate
Gets or sets the date that is displayed as selected in this control.

Events

  Name Description
Public event PropertyChanged
Occurs when a property value changes.
Public event SelectedDateChanged
Fires when the SelectedDate property changes.

See Also