DatePicker
This control looks like a regular DatePicker but allows you to edit a date quickly.
Inherits from Catel.Windows.Controls.UserControl.
Double click on any number to start editing. Press the “Tab” key to move to the next number.
Click on a letter to display a drop down list to choose from.
Properties
Property name | Description |
---|---|
AccentColorBrush | Gets or sets accent color |
AllowNull | Gets or sets whether Value can be null . |
AllowCopyPaste | Gets or sets whether Value can be copy/paste. |
Format | Gets or sets DateTime Value format. |
IsReadOnly | Gets or sets whether Value is only for read. |
IsYearShortFormat | Gets whether year in short format. |
ShowOptionsButton | Gets or sets whether options button is visible. |
Value | Gets or sets current DateTime value |
How to use
Bind a DateTime
value to the Value
property:
<orc:DatePicker Value="{Binding DateValue}" />
Contributions
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Questions
Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!