Identifies the type of display element in a DateTimePicker control. This is typically used in a DataTemplateSelector to present appropriate user interfaces for different types of element.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public enum DateTimeDisplayElementType
Visual Basic (Declaration)
Public Enumeration DateTimeDisplayElementType

Members

Member nameDescription
Numeric
The element is presented as a numeric value. For example, the year. Elements of this type are instances of DateTimeNumericDisplayElement.
Select
The element is presented as text, and the user may select only from pre-defined values. For example, the month when displayed in textual format (the "MMM" family of format strings). Elements of this type are instances of DateTimeSelectDisplayElement.
ReadOnly
The element may not be edited by the user. For example, the day of the week, a separator, or literal text. Elements of this type are instances of DateTimeReadOnlyDisplayElement.

See Also