DateTimePropertyEditor Class
Represents a PropertyEditor for editing a DateTime
value with a DateTimeEditBox.
public class DateTimePropertyEditor : PartEditBoxPropertyEditorBase, INotifyPropertyChanged
- Inheritance:
- Object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase Object
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.
Minimum
Gets or sets 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
- PartEditBoxPropertyEditorBase.BorderThickness
- PartEditBoxPropertyEditorBase.CommitTriggers
- PartEditBoxPropertyEditorBase.HasPopup
- PartEditBoxPropertyEditorBase.IsArrowKeyPartNavigationEnabled
- PartEditBoxPropertyEditorBase.IsEditable
- PartEditBoxPropertyEditorBase.IsNullAllowed
- PartEditBoxPropertyEditorBase.IsUndoEnabled
- PartEditBoxPropertyEditorBase.PlaceholderText
- PartEditBoxPropertyEditorBase.SpinnerVisibility
- PartEditBoxPropertyEditorBase.SpinWrapping
- PartEditBoxPropertyEditorBase.TextAlignment
- PropertyEditorBase.CreateValueTemplate()
- PropertyEditorBase.ValueTemplate
- PropertyEditor.GetIsReadOnly(IPropertyModel)
- PropertyEditor.NameTemplate
- PropertyEditor.NameTemplateKey
- PropertyEditor.NameTemplateSelector
- PropertyEditor.ObjectType
- PropertyEditor.PropertyName
- PropertyEditor.PropertyType
- PropertyEditor.ValueTemplateKey
- PropertyEditor.ValueTemplateKind
- PropertyEditor.ValueTemplateSelector
- ObservableObjectBase.NotifyPropertyChanged(String)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.PropertyChanged
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()