Int16PropertyEditor Class
Represents a PropertyEditor for editing a Int16
value with a Int16EditBox.
public class Int16PropertyEditor : PartEditBoxPropertyEditorBase, INotifyPropertyChanged
- Inheritance:
- Object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase Object
- Derived:
- NullableInt16PropertyEditor
Constructors
Int16PropertyEditor()
Initializes an instance of the Int16PropertyEditor class.
public Int16PropertyEditor()
Int16PropertyEditor(Type)
Initializes an instance of the Int16PropertyEditor class.
protected Int16PropertyEditor(Type propertyType)
Parameter | Type | Description |
---|---|---|
propertyType | Type | The type of the property. |
Properties
DefaultValue
Gets or sets the value to set when incrementing/decrementing from a null value.
public short DefaultValue { get; set; }
Property Value
- Int16:
The value to set when incrementing/decrementing from a null value. The default value is
0
.
Format
Gets or sets the number format string.
public string Format { get; set; }
Property Value
- String:
The number format string. The default value is
"D"
.
LargeChange
Gets or sets the large change value.
public short LargeChange { get; set; }
Property Value
- Int16:
The large change value. The default value is
5
.
Maximum
Gets or sets the highest possible value.
Minimum
Gets or sets the lowest possible value.
PickerKind
Gets or sets a Int16EditBoxPickerKind indicating the pre-defined Style
to apply to the picker used within the popup.
public Int16EditBoxPickerKind PickerKind { get; set; }
Property Value
- Int16EditBoxPickerKind:
A Int16EditBoxPickerKind indicating the pre-defined
Style
to apply to the picker used within the popup. The default value isCalculator
in WPF andDefault
in UWP.
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.
SmallChange
Gets or sets the small change value.
public short SmallChange { get; set; }
Property Value
- Int16:
The small change value. The default value is
1
.
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()