Udostępnij za pośrednictwem


RangeBase.Minimum Property

Definition

Gets or sets the Minimum possible Value of the range element.

public:
 property double Minimum { double get(); void set(double value); };
double Minimum();

void Minimum(double value);
public double Minimum { get; set; }
var double = rangeBase.minimum;
rangeBase.minimum = double;
Public Property Minimum As Double
<rangeBase Minimum="double"/>

Property Value

Double

double

Minimum possible Value of the range element. The default is 0.

Remarks

Note

When binding Minimum and Maximum values in Extensible Application Markup Language (XAML), declare the Binding for Maximum first. If the Binding for Maximum is declared after Minimum, the bound value for Maximum is ignored and the following situations can occur: + If the bound Minimum value is negative, the Maximum value is set to 0.

  • If the bound Minimum value is greater than the default Maximum (100 for Slider and ProgressBar), the Maximum value is set equal to the Minimum value. To avoid this behavior, declare the Binding for Maximum first in your Extensible Application Markup Language (XAML).

These behaviors can also occur if you set the Minimum value without also explicitly setting the Maximum value.

Applies to