In This Article

DatePropertyEditor Class

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

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

Constructors

DatePropertyEditor()

Initializes an instance of the class.

public DatePropertyEditor()

DatePropertyEditor(Type)

Initializes an instance of the class.

protected DatePropertyEditor(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

Format

The date/time format string.

public string Format { get; set; }

Property Value

string:

The default value is "d".

PredefinedValueTemplateKey

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

Inherited Members

Extension Methods