The DateTimePicker type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DateTimePicker |
Initializes a new instance of the DateTimePicker class.
|
Methods
| Name | Description | |
|---|---|---|
| OnApplyTemplate |
Called by the framework when a template is applied to the control.
(Overrides FrameworkElement..::.OnApplyTemplate()()().) |
Fields
| Name | Description | |
|---|---|---|
| CultureProperty |
Identifies the Culture property.
| |
| CustomFormatProperty |
Identifies the CustomFormat property.
| |
| DisplayElementsProperty |
Identifies the DisplayElements property.
| |
| FormatProperty |
Identifies the Format property.
| |
| ValueProperty |
Identifies the Value property.
|
Properties
| Name | Description | |
|---|---|---|
| Culture |
Gets or sets the culture.
This is a dependency property.
| |
| CustomFormat |
Gets or sets the custom date/time format string. This is ignored unless Format
is set to Custom.
This is a dependency property.
| |
| DisplayElements |
Gets the elements used to display and edit the value.
This is a dependency property.
| |
| Format |
Gets or sets the date/time format.
This is a dependency property.
| |
| Value |
Gets or sets the date/time value.
This is a dependency property.
|