The C1DatePicker type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1DatePicker |
Initializes a new instance of a C1DatePicker.
|
Methods
| Name | Description | |
|---|---|---|
|
|
ChangeVisualStateCommon |
Updates the current visual state of the Common visual state group to match the object's properties.
|
|
|
ChangeVisualStateFocus |
Updates the current visual state of the Focus visual state group to match the object's properties.
|
|
|
FinalizeEditing |
Forces the SelectedDate property value update.
|
|
|
OnApplyTemplate |
Builds the visual tree for the C1DatePicker control when a new template is applied.
(Overrides FrameworkElementOnApplyTemplate()()()().) |
|
|
OnDateValidationError |
Raises the DateValidationError event.
|
|
|
OnLostFocus |
Finalizes editing and closes dropdown part if focus is out of the C1DatePicker control.
(Overrides ControlOnLostFocus(RoutedEventArgs).) |
|
|
ToString |
Provides a text representation of the selected date.
(Overrides Object..::..ToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
|
|
AllowNullProperty |
Identifies the AllowNull dependency property.
|
|
|
ButtonBackgroundProperty |
Identifies the ButtonBackground dependency property.
|
|
|
ButtonForegroundProperty |
Identifies the ButtonForeground dependency property.
|
|
|
CalendarStyleProperty |
Identifies the CalendarStyle dependency property.
|
|
|
CaretBrushProperty |
Identifies the CaretBrush dependency property.
|
|
|
CornerRadiusProperty |
Identifies the CornerRadius dependency property.
|
|
|
CustomFormatProperty |
Identifies the CustomFormat dependency property.
|
|
|
DisabledCuesVisibilityProperty |
Identifies the DisabledCuesVisibility dependency property.
|
|
|
DisplayDateEndProperty |
Identifies the DisplayDateEnd dependency property.
|
|
|
DisplayDateProperty |
Identifies the DisplayDate dependency property.
|
|
|
DisplayDateStartProperty |
Identifies the DisplayDateStart dependency property.
|
|
|
FirstDayOfWeekProperty |
Identifies the FirstDayOfWeek dependency property.
|
|
|
FocusBrushProperty |
Identifies the FocusBrush dependency property.
|
|
|
FocusCuesVisibilityProperty |
Identifies the FocusCuesVisibility dependency property.
|
|
|
IsDropDownOpenProperty |
Identifies the IsDropDownOpen dependency property.
|
|
|
IsFocusedProperty |
Identifies the IsFocused dependency property.
|
|
|
IsMouseOverProperty |
Identifies the IsMouseOver dependency property.
|
|
|
IsReadOnlyProperty |
Identifies the IsReadOnly dependency property.
|
|
|
MaskProperty |
Identifies the Mask dependency property.
|
|
|
MouseOverBrushProperty |
Identifies the MouseOverBrush dependency property.
|
|
|
PressedBrushProperty |
Identifies the PressedBrush dependency property.
|
|
|
PromptProperty |
Identifies the Prompt dependency property.
|
|
|
SelectedDateFormatProperty |
Identifies the SelectedDateFormat dependency property.
|
|
|
SelectedDateProperty |
Identifies the SelectedDate dependency property.
|
|
|
SelectionBackgroundProperty |
Identifies the SelectionBackground dependency property.
|
|
|
SelectionForegroundProperty |
Identifies the SelectionForeground dependency property.
|
|
|
TextProperty |
Identifies the Text dependency property.
|
|
|
ValidationDecoratorStyleProperty |
Identifies the ValidationDecoratorStyle dependency property.
|
|
|
WatermarkProperty |
Identifies the Watermark dependency property.
|
Properties
| Name | Description | |
|---|---|---|
|
|
AllowNull |
Gets or sets whether the user can enter null values.
|
|
|
ButtonBackground |
Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.
|
|
|
ButtonForeground |
Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.
|
|
|
CalendarStyle |
Gets or sets the style that is used when rendering the calendar.
|
|
|
CaretBrush |
Gets or sets the Brush of the blinking cursor of an input control.
|
|
|
CornerRadius |
Gets or sets a value that represents the degree to which the corners of the element are rounded.
|
|
|
CustomFormat |
Gets or sets the custom date/time format string.
|
|
|
DisabledCuesVisibility |
Gets or sets a value indicating whether the disabled visuals of the control are visible.
|
|
|
DisplayDate |
Gets or sets the date to display.
|
|
|
DisplayDateEnd |
Gets or sets the last date to be displayed.
|
|
|
DisplayDateStart |
Gets or sets the first date to be displayed.
|
|
|
FirstDayOfWeek |
Gets or sets the day that is considered the beginning of the week.
|
|
|
FocusBrush |
Gets or sets the Brush used to highlight the focused control.
|
|
|
FocusCuesVisibility |
Gets or sets a value indicating whether the focus visuals of the control are visible.
|
|
|
IsDropDownOpen |
Gets or sets a value indicating whether the drop-down calendar is open or closed.
|
|
|
IsFocused |
Returns true if the control has the focus.
|
|
|
IsMouseOver |
Returns true if the mouse is over the control.
|
|
|
IsReadOnly |
Gets or sets the value that determines if the C1DatePicker is read-only.
|
|
|
Mask |
Gets or sets the input mask.
|
|
|
MouseOverBrush |
Gets or sets the Brush used to highlight the control when it has the mouse over.
|
|
|
PressedBrush |
Gets or sets the Brush used to paint a button when it is pressed.
|
|
|
Prompt |
Gets or sets the character used to show spaces where user is supposed to type.
|
|
|
SelectedDate |
Gets or sets the currently selected date.
|
|
|
SelectedDateFormat |
Gets or sets the format that is used to display the selected date.
|
|
|
SelectionBackground |
Gets or sets the Brush that fills the background of the selected text.
|
|
|
SelectionForeground |
Gets or sets the Brush used as foreground of the selected text.
|
|
|
Text |
Gets or sets the text that is displayed by the C1DatePicker control.
|
|
|
ValidationDecoratorStyle |
Gets or sets the style that is applied to the inner C1ValidationDecorator.
|
|
|
Watermark |
Gets or sets the content of the watermark.
|
Events
| Name | Description | |
|---|---|---|
|
|
CalendarClosed |
Occurs when the drop-down Calendar is closed.
|
|
|
CalendarOpened |
Occurs when the drop-down Calendar is opened.
|
|
|
DateValidationError |
Occurs when text entered into the C1DatePicker cannot be parsed or the Date is not valid to be selected.
|
|
|
IsMouseOverChanged |
Event raised when the [P:IsMouseOver] property has changed.
|
|
|
SelectedDateChanged |
Occurs when the SelectedDate property is changed.
|