DatePicker Class

Extension to the System.Windows.Controls.DatePicker class.

Definition

Namespace: Common.Wpf.Controls
Assembly: Common.Wpf.Controls (in Common.Wpf.Controls.dll) Version: 2.0.7
C#
public class DatePicker : DatePicker
Inheritance
Object    DispatcherObject    DependencyObject    Visual    UIElement    FrameworkElement    Control    DatePicker    DatePicker

Remarks

1. Add a namespace attribute to the root element of the markup file it is to be used in:
XAML
xmlns:cc="clr-namespace:Common.Wpf.Controls;assembly=Common.Wpf.Controls"
2. Define the control specifying whether error messages should be shown below the control:
XAML
<cc:DatePicker IsErrorShown="True"... />

Constructors

DatePickerInitializes a new instance of the DatePicker class

Properties

IsErrorShownGets or sets whether error messages are shown to the user below the control. The default is .

Fields

IsErrorShownPropertyIdentifies the IsErrorShown dependency property.

See Also