Share via


NumberRangesAttribute Constructor (Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Boolean>, array<KeyAttributePair<NumberRangesAttribute> )

Initializes a new instance of the NumberRangesAttribute class.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    hardMinimum As Nullable(Of Double), _
    minimum As Nullable(Of Double), _
    maximum As Nullable(Of Double), _
    hardMaximum As Nullable(Of Double), _
    canBeAuto As Nullable(Of Boolean), _
    mapArray As KeyAttributePair(Of NumberRangesAttribute)() _
)
public NumberRangesAttribute(
    Nullable<double> hardMinimum,
    Nullable<double> minimum,
    Nullable<double> maximum,
    Nullable<double> hardMaximum,
    Nullable<bool> canBeAuto,
    KeyAttributePair<NumberRangesAttribute>[] mapArray
)
public:
NumberRangesAttribute(
    Nullable<double> hardMinimum, 
    Nullable<double> minimum, 
    Nullable<double> maximum, 
    Nullable<double> hardMaximum, 
    Nullable<bool> canBeAuto, 
    array<KeyAttributePair<NumberRangesAttribute^>>^ mapArray
)
new : 
        hardMinimum:Nullable<float> * 
        minimum:Nullable<float> * 
        maximum:Nullable<float> * 
        hardMaximum:Nullable<float> * 
        canBeAuto:Nullable<bool> * 
        mapArray:KeyAttributePair<NumberRangesAttribute>[] -> NumberRangesAttribute
public function NumberRangesAttribute(
    hardMinimum : Nullable<double>, 
    minimum : Nullable<double>, 
    maximum : Nullable<double>, 
    hardMaximum : Nullable<double>, 
    canBeAuto : Nullable<boolean>, 
    mapArray : KeyAttributePair<NumberRangesAttribute>[]
)

Parameters

  • hardMinimum
    Type: System.Nullable<Double>
    The minimum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
  • minimum
    Type: System.Nullable<Double>
    The soft minimum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
  • maximum
    Type: System.Nullable<Double>
    The soft maximum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
  • hardMaximum
    Type: System.Nullable<Double>
    The maximum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.

.NET Framework Security

See Also

Reference

NumberRangesAttribute Class

NumberRangesAttribute Overload

Microsoft.Windows.Design.PropertyEditing Namespace