The C1DatePicker type exposes the following members.

Constructors

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

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 SelectedDate property value update.
Protected method OnApplyTemplate
Builds the visual tree for the C1DatePicker control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().)
Protected method OnDateValidationError
Raises the DateValidationError event.
Protected method OnLostFocus
Finalizes editing and closes dropdown part if focus is out of the C1DatePicker control.
(Overrides ControlOnLostFocus(RoutedEventArgs).)
Public method ToString
Provides a text representation of the selected date.
(Overrides Object..::..ToString()()()().)

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 CalendarStyleProperty
Identifies the CalendarStyle 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 CustomFormatProperty
Identifies the CustomFormat dependency property.
Public field Static member DisabledCuesVisibilityProperty
Identifies the DisabledCuesVisibility dependency property.
Public field Static member DisplayDateEndProperty
Identifies the DisplayDateEnd dependency property.
Public field Static member DisplayDateProperty
Identifies the DisplayDate dependency property.
Public field Static member DisplayDateStartProperty
Identifies the DisplayDateStart 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 IsDropDownOpenProperty
Identifies the IsDropDownOpen 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 MaskProperty
Identifies the Mask 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 SelectedDateFormatProperty
Identifies the SelectedDateFormat dependency property.
Public field Static member SelectedDateProperty
Identifies the SelectedDate 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 TextProperty
Identifies the Text dependency property.
Public field Static member ValidationDecoratorStyleProperty
Identifies the ValidationDecoratorStyle dependency property.
Public field Static member WatermarkProperty
Identifies the Watermark 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 CalendarStyle
Gets or sets the style that is used when rendering the calendar.
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 CustomFormat
Gets or sets the custom date/time format string.
Public property DisabledCuesVisibility
Gets or sets a value indicating whether the disabled visuals of the control are visible.
Public property DisplayDate
Gets or sets the date to display.
Public property DisplayDateEnd
Gets or sets the last date to be displayed.
Public property DisplayDateStart
Gets or sets the first date to be displayed.
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 IsDropDownOpen
Gets or sets a value indicating whether the drop-down calendar is open or closed.
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 C1DatePicker is read-only.
Public property Mask
Gets or sets the input mask.
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 SelectedDate
Gets or sets the currently selected date.
Public property SelectedDateFormat
Gets or sets the format that is used to display the selected date.
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 Text
Gets or sets the text that is displayed by the C1DatePicker control.
Public property ValidationDecoratorStyle
Gets or sets the style that is applied to the inner C1ValidationDecorator.
Public property Watermark
Gets or sets the content of the watermark.

Events

  Name Description
Public event CalendarClosed
Occurs when the drop-down Calendar is closed.
Public event CalendarOpened
Occurs when the drop-down Calendar is opened.
Public event DateValidationError
Occurs when text entered into the C1DatePicker cannot be parsed or the Date is not valid to be selected.
Public event IsMouseOverChanged
Event raised when the [P:IsMouseOver] property has changed.
Public event SelectedDateChanged
Occurs when the SelectedDate property is changed.

See Also