The C1DateTimePicker type exposes the following members.

Constructors

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

Methods

  Name Description
Protected method ChangeVisualStateCommon
Updates the current visual state of the Common visual state group to match the object's properties.
Protected method ChangeVisualStateFocus
Updates the current visual state of the Focus visual state group to match the object's properties.
Public method FinalizeEditing
Forces the DateTime property value update.
Protected method OnApplyTemplate
Builds the visual tree for the C1DateTimePicker control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().)
Protected method OnDateTimeChanged
Raises the DateTime event.

Fields

  Name Description
Public field Static member AllowNullProperty
Identifies the AllowNull dependency property.
Public field Static member ButtonBackgroundProperty
Identifies the ButtonBackground dependency property.
Public field Static member ButtonForegroundProperty
Identifies the ButtonForeground dependency property.
Public field Static member CaretBrushProperty
Identifies the CaretBrush dependency property.
Public field Static member CornerRadiusProperty
Identifies the CornerRadius dependency property.
Public field Static member CustomDateFormatProperty
Identifies the CustomDateFormat dependency property.
Public field Static member CustomTimeFormatProperty
Identifies the CustomTimeFormat dependency property.
Public field Static member DateFormatProperty
Identifies the DateFormat dependency property.
Public field Static member DateMaskProperty
Identifies the DateMask dependency property.
Public field Static member DateTimeProperty
Identifies the DateTime dependency property.
Public field Static member DateWatermarkProperty
Identifies the DateWatermark dependency property.
Public field Static member DisabledCuesVisibilityProperty
Identifies the DisabledCuesVisibility dependency property.
Public field Static member EditModeProperty
Identifies the EditMode dependency property.
Public field Static member FirstDayOfWeekProperty
Identifies the FirstDayOfWeek dependency property.
Public field Static member FocusBrushProperty
Identifies the FocusBrush dependency property.
Public field Static member FocusCuesVisibilityProperty
Identifies the FocusCuesVisibility dependency property.
Public field Static member IsFocusedProperty
Identifies the IsFocused dependency property.
Public field Static member IsMouseOverProperty
Identifies the IsMouseOver dependency property.
Public field Static member IsReadOnlyProperty
Identifies the IsReadOnly dependency property.
Public field Static member MaxDateProperty
Identifies the MaxDate dependency property.
Public field Static member MinDatePickerWidthProperty
Identifies the MinDatePickerWidth dependency property.
Public field Static member MinDateProperty
Identifies the MinDate dependency property.
Public field Static member MinTimeEditorWidthProperty
Identifies the MinTimeEditorWidth dependency property.
Public field Static member MouseOverBrushProperty
Identifies the MouseOverBrush dependency property.
Public field Static member PressedBrushProperty
Identifies the PressedBrush dependency property.
Public field Static member PromptProperty
Identifies the Prompt dependency property.
Public field Static member SelectionBackgroundProperty
Identifies the SelectionBackground dependency property.
Public field Static member SelectionForegroundProperty
Identifies the SelectionForeground dependency property.
Public field Static member SeparatorWidthProperty
Identifies the SeparatorWidth dependency property.
Public field Static member TimeFormatProperty
Identifies the TimeFormat dependency property.
Public field Static member TimeIncrementProperty
Identifies the TimeIncrement dependency property.
Public field Static member TimeMaskProperty
Identifies the TimeMask dependency property.
Public field Static member TimeWatermarkProperty
Identifies the TimeWatermark dependency property.
Public field Static member ValidationDecoratorStyleProperty
Identifies the ValidationDecoratorStyle dependency property.

Properties

  Name Description
Public property AllowNull
Gets or sets whether the user can enter null values.
Public property ButtonBackground
Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.
Public property ButtonForeground
Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.
Public property CaretBrush
Gets or sets the Brush of the blinking cursor of an input control.
Public property CornerRadius
Gets or sets a value that represents the degree to which the corners of the element are rounded.
Public property CustomDateFormat
Gets or sets the custom date format string.
Public property CustomTimeFormat
Gets or sets the custom time format string.
Public property DateFormat
Specifies the C1DatePickerFormat format that is used to display the selected date.
Public property DateMask
Gets or sets the input mask for the date part.
Public property DateTime
Gets or sets a DateTime that is selected in the control.
Public property DateWatermark
Gets or sets the content of the date part watermark.
Public property DisabledCuesVisibility
Gets or sets a value indicating whether the disabled visuals of the control are visible.
Public property EditMode
Defines edit mode.
Public property FirstDayOfWeek
Gets or sets the day that is considered the beginning of the week.
Public property FocusBrush
Gets or sets the Brush used to highlight the focused control.
Public property FocusCuesVisibility
Gets or sets a value indicating whether the focus visuals of the control are visible.
Public property IsFocused
Returns true if the control has the focus.
Public property IsMouseOver
Returns true if the mouse is over the control.
Public property IsReadOnly
Gets or sets the value that determines if the C1DateTimePicker is read-only.
Public property MaxDate
Gets or sets the maximum DateTime allowed for the C1DateTimePicker.
Public property MinDate
Gets or sets the minimum DateTime value allowed for the C1DateTimePicker.
Public property MinDatePickerWidth
Gets or sets minimum width constraint of the date picker part.
Public property MinTimeEditorWidth
Gets or sets minimum width constraint of the time editor part.
Public property MouseOverBrush
Gets or sets the Brush used to highlight the control when it has the mouse over.
Public property PressedBrush
Gets or sets the Brush used to paint a button when it is pressed.
Public property Prompt
Gets or sets the character used to show spaces where user is supposed to type.
Public property SelectionBackground
Gets or sets the Brush that fills the background of the selected text.
Public property SelectionForeground
Gets or sets the Brush used as foreground of the selected text.
Public property SeparatorWidth
Gets or sets the width of space between Date and Time parts.
Public property TimeFormat
Specifies the C1TimeEditorFormat format that is used to display the selected time.
Public property TimeIncrement
Gets or sets the increment applied when the user pressed the up/down arrow keys in a time part.
Public property TimeMask
Gets or sets the input mask for the time part.
Public property TimeWatermark
Gets or sets the content of the time part watermark.
Public property ValidationDecoratorStyle
Gets or sets the style that is applied to the inner C1ValidationDecorator.

Events

  Name Description
Public event DateTimeChanged
Fires when the DateTime property changes.
Public event DateValidationError
Occurs when text entered into the DatePicker cannot be parsed or the Date is not valid to be selected.
Public event IsMouseOverChanged
Event raised when the [P:IsMouseOver] property has changed.

See Also