Represents a PropertySingle
value with a Single
- Inheritance:
-
object
Observable
Object PropertyBase Editor PropertyEditor PartBase Edit objectBox Property Editor Base
- Derived:
-
Nullable
Single Property Editor
Constructors
SinglePropertyEditor()
Initializes an instance of the Single
SinglePropertyEditor(Type)
Initializes an instance of the Single
Parameter | Type | Description |
---|---|---|
propertyType | Type | The type of the property. |
Properties
CanSnapToChangePrecision
Gets or sets whether the value should be snapped to the precision of the incremental change value prior to applying the increment.
Property Value
- bool:
true
if the value should be snapped to the precision of the incremental change value prior to applying the increment; otherwise,false
. The default value istrue
.
Remarks
When true
, a value of 1.24
with change value 0.1
would result in 1.3
.
When false
, a value of 1.24
with change value 0.1
would result in 1.34
.
DefaultValue
Gets or sets the value to set when incrementing/decrementing from a null value.
Property Value
- float:
The value to set when incrementing/decrementing from a null value. The default value is
0
.
Format
Gets or sets the number format string.
Property Value
- string:
The number format string. The default value is
"G"
.
IsNaNAllowed
Gets or sets whether Na
Property Value
IsNegativeInfinityAllowed
Gets or sets whether Negative
Property Value
- bool:
true
if NegativeInfinity is accepted as a value; otherwise,false
. The default value isfalse
.
IsPositiveInfinityAllowed
Gets or sets whether Positive
Property Value
- bool:
true
if PositiveInfinity is accepted as a value; otherwise,false
. The default value isfalse
.
LargeChange
Gets or sets the large change value.
Property Value
- float:
The large change value. The default value is
5
.
Maximum
Gets or sets the highest possible value.
Property Value
- float:
The highest possible value.
Minimum
Gets or sets the lowest possible value.
Property Value
- float:
The lowest possible value.
PickerKind
Gets or sets a SingleStyle
to apply to the picker used within the popup.
Property Value
- Single
Edit :Box Picker Kind A Single
Edit indicating the pre-definedBox Picker Kind 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 Data
Property Value
- object:
The resource key that references a pre-defined Data
Template within internal resources to use for editing the property value.
RoundingDecimalPlace
Gets or sets the rounding decimal place.
Property Value
- int?:
The rounding decimal place, which is a value between
0
and7
. Pass a null value to disable rounding. The default value is7
.
SmallChange
Gets or sets the small change value.
Property Value
- float:
The small change value. The default value is
1
.
Inherited Members
-
Part
Edit Box Property Editor Base. Border Thickness -
Part
Edit Box Property Editor Base. Commit Triggers -
Part
Edit Box Property Editor Base. Has Popup -
Part
Edit Box Property Editor Base. Is Arrow Key Part Navigation Enabled -
Part
Edit Box Property Editor Base. Is Editable -
Part
Edit Box Property Editor Base. Is Null Allowed -
Part
Edit Box Property Editor Base. Is Undo Enabled -
Part
Edit Box Property Editor Base. Placeholder Text -
Part
Edit Box Property Editor Base. Spinner Visibility -
Part
Edit Box Property Editor Base. Spin Wrapping -
Part
Edit Box Property Editor Base. Text Alignment -
Property
Editor Base. Create Value Template() -
Property
Editor Base. Value Template -
Property
Editor. Get Is Read Only(IProperty Model) -
Property
Editor. Name Template -
Property
Editor. Name Template Key -
Property
Editor. Name Template Selector -
Property
Editor. Object Type -
Property
Editor. Property Name -
Property
Editor. Property Type -
Property
Editor. Value Template Key -
Property
Editor. Value Template Kind -
Property
Editor. Value Template Selector -
Observable
Object Base. Notify Property Changed(string) -
Observable
Object Base. On Property Changed(Property Changed Event Args) - ObservableObjectBase.SetProperty<T>(ref T, T, string)
-
Observable
Object Base. Property Changed -
object.
Get Type() -
object.
Memberwise Clone() -
object.
To String() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()