TimeSpanPropertyEditor Class
Represents a PropertyEditor for editing a TimeSpan value with a TimeSpanEditBox.
public class TimeSpanPropertyEditor : PartEditBoxPropertyEditorBase
- Inheritance:
- object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
- Derived:
- NullableTimeSpanPropertyEditor
Constructors
TimeSpanPropertyEditor()
Initializes an instance of the class.
public TimeSpanPropertyEditor()
TimeSpanPropertyEditor(Type)
Initializes an instance of the class.
protected TimeSpanPropertyEditor(Type propertyType)
| Parameter | Type | Description |
|---|---|---|
| propertyType | Type | The type of the property. |
Properties
DefaultValue
The value to set when incrementing/decrementing from a null value.
Format
The number format string.
HasPopup
Indicates whether the control has a popup available.
public bool HasPopup { get; set; }
Property Value
- bool:
trueif the control has a popup available; otherwisefalse. The default value istrue.
LargeChange
The large change value.
public TimeSpan LargeChange { get; set; }
Property Value
- TimeSpan:
The default value is
7.3:5:5:050.
Maximum
The highest possible value.
Minimum
The lowest possible value.
PredefinedValueTemplateKey
The resource key that references a pre-defined DataTemplate within internal resources to use for editing the property value.
SmallChange
The small change value.
SpinWrapping
The wrapping behavior used when spinning past a minimum or maximum value in the active part.
public SpinWrapping SpinWrapping { get; set; }
Property Value
- SpinWrapping:
The default value is Wrap.
SpinnerVisibility
Indicates if and when the control has a spinner available.
public SpinnerVisibility SpinnerVisibility { get; set; }
Property Value
- SpinnerVisibility:
The default value is VisibleWhenActive.
Inherited Members
- PartEditBoxPropertyEditorBase.BorderThickness
- PartEditBoxPropertyEditorBase.CommitTriggers
- PartEditBoxPropertyEditorBase.IsArrowKeyPartNavigationEnabled
- PartEditBoxPropertyEditorBase.IsEditable
- PartEditBoxPropertyEditorBase.IsNullAllowed
- PartEditBoxPropertyEditorBase.IsUndoEnabled
- PartEditBoxPropertyEditorBase.PlaceholderText
- 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(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()