In This Article

DateTimePropertyEditor Class

Represents a PropertyEditor for editing a DateTime value with a DateTimeEditBox.

public class DateTimePropertyEditor : PartEditBoxPropertyEditorBase
Inheritance:
object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
Derived:
DatePropertyEditor NullableDateTimePropertyEditor TimePropertyEditor

Constructors

DateTimePropertyEditor()

Initializes an instance of the DateTimePropertyEditor class.

public DateTimePropertyEditor()

DateTimePropertyEditor(Type)

Initializes an instance of the DateTimePropertyEditor class.

protected DateTimePropertyEditor(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

Format

Gets or sets the date/time format string.

public string Format { get; set; }

Property Value

string:

The number date/time string. The default value is "g".

Maximum

Gets or sets the highest possible value.

public DateTime Maximum { get; set; }

Property Value

DateTime:

The highest possible value.

Minimum

Gets or sets the lowest possible value.

public DateTime Minimum { get; set; }

Property Value

DateTime:

The lowest possible value.

PredefinedValueTemplateKey

Gets the resource key that references a pre-defined DataTemplate within internal resources to use for editing the property value.

protected override object PredefinedValueTemplateKey { get; }

Property Value

object:

The resource key that references a pre-defined DataTemplate within internal resources to use for editing the property value.

Inherited Members