RangeBase.Minimum RangeBase.Minimum RangeBase.Minimum RangeBase.Minimum Property

定義

範囲要素に指定できる MinimumValue を取得または設定します。Gets or sets the Minimum possible Value of the range element.

public:
 property double Minimum { double get(); void set(double value); };
[System.ComponentModel.Bindable(true)]
public double Minimum { get; set; }
member this.Minimum : double with get, set
Public Property Minimum As Double

プロパティ値

範囲要素に指定できる MinimumValueMinimum possible Value of the range element. 既定値は 0 です。The default is 0.

RangeBase などのコントロールSliderProgressBar継承、RangeBaseプロパティ。RangeBase controls such as Slider and ProgressBar inherit the RangeBase properties. 次の例は、Sliderを使用して、Minimumプロパティ。The following example shows a Slider that uses the Minimum property.

Slider hslider = new Slider();
hslider.Width = 100;
hslider.Orientation = Orientation.Horizontal;
hslider.IsSnapToTickEnabled = true;
hslider.Minimum = 1;
hslider.Maximum = 20;
hslider.TickPlacement = TickPlacement.Both;
hslider.TickFrequency = 2;
hslider.AutoToolTipPlacement =
  AutoToolTipPlacement.BottomRight;
cv1.Children.Add(hslider);
Dim hslider As New Slider()
hslider.Width = 100
hslider.Orientation = Orientation.Horizontal
hslider.IsSnapToTickEnabled = True
hslider.Minimum = 1
hslider.Maximum = 20
hslider.TickPlacement = TickPlacement.Both
hslider.TickFrequency = 2
hslider.AutoToolTipPlacement = AutoToolTipPlacement.BottomRight
cv1.Children.Add(hslider)
<Slider Name="slider1" 
        Width="100" 
        Orientation="Horizontal" HorizontalAlignment="Left" 
        IsSnapToTickEnabled="True" Minimum="1" Maximum="20" 
        TickPlacement="Both"  TickFrequency="2"
        AutoToolTipPlacement="BottomRight"/>

注釈

依存プロパティ情報Dependency Property Information

識別子フィールドです。Identifier field MinimumProperty
メタデータのプロパティを設定するには trueMetadata properties set to true なしNone

適用対象