Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the NumberRangesAttribute class with the specified hard and soft limit values.
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) _
)
public NumberRangesAttribute(
    Nullable<double> hardMinimum,
    Nullable<double> minimum,
    Nullable<double> maximum,
    Nullable<double> hardMaximum,
    Nullable<bool> canBeAuto
)
public:
NumberRangesAttribute(
    Nullable<double> hardMinimum, 
    Nullable<double> minimum, 
    Nullable<double> maximum, 
    Nullable<double> hardMaximum, 
    Nullable<bool> canBeAuto
)
new : 
        hardMinimum:Nullable<float> * 
        minimum:Nullable<float> * 
        maximum:Nullable<float> * 
        hardMaximum:Nullable<float> * 
        canBeAuto:Nullable<bool> -> NumberRangesAttribute
public function NumberRangesAttribute(
    hardMinimum : Nullable<double>, 
    minimum : Nullable<double>, 
    maximum : Nullable<double>, 
    hardMaximum : Nullable<double>, 
    canBeAuto : Nullable<boolean>
)
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.
- canBeAuto
 Type: System.Nullable<Boolean>
 true if the range can be set automatically; otherwise, false.
.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.