NumberIncrementsAttribute Constructor (Nullable<Double>, Nullable<Double>, Nullable<Double>, array<KeyAttributePair<NumberIncrementsAttribute> )
Initializes a new instance of the NumberIncrementsAttribute class with the specified parameters.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
smallChange As Nullable(Of Double), _
defaultChange As Nullable(Of Double), _
largeChange As Nullable(Of Double), _
mapArray As KeyAttributePair(Of NumberIncrementsAttribute)() _
)
public NumberIncrementsAttribute(
Nullable<double> smallChange,
Nullable<double> defaultChange,
Nullable<double> largeChange,
KeyAttributePair<NumberIncrementsAttribute>[] mapArray
)
public:
NumberIncrementsAttribute(
Nullable<double> smallChange,
Nullable<double> defaultChange,
Nullable<double> largeChange,
array<KeyAttributePair<NumberIncrementsAttribute^>>^ mapArray
)
new :
smallChange:Nullable<float> *
defaultChange:Nullable<float> *
largeChange:Nullable<float> *
mapArray:KeyAttributePair<NumberIncrementsAttribute>[] -> NumberIncrementsAttribute
public function NumberIncrementsAttribute(
smallChange : Nullable<double>,
defaultChange : Nullable<double>,
largeChange : Nullable<double>,
mapArray : KeyAttributePair<NumberIncrementsAttribute>[]
)
Parameters
- smallChange
Type: System.Nullable<Double>
The value for a small increment.
- defaultChange
Type: System.Nullable<Double>
The value for the default increment.
- largeChange
Type: System.Nullable<Double>
The value for a large increment.
- mapArray
Type: array<Microsoft.Windows.Design.PropertyEditing.KeyAttributePair<NumberIncrementsAttribute>[]
An array of KeyAttributePair<T> instances.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
NumberIncrementsAttribute Class