TrackBar.SetRange(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the minimum and maximum values for a TrackBar.
public:
void SetRange(int minValue, int maxValue);
public void SetRange (int minValue, int maxValue);
member this.SetRange : int * int -> unit
Public Sub SetRange (minValue As Integer, maxValue As Integer)
Parameters
- minValue
- Int32
The lower limit of the range of the track bar.
- maxValue
- Int32
The upper limit of the range of the track bar.
Remarks
You can use this method to set the entire range for the TrackBar at the same time. To set the minimum or maximum values individually, use the Minimum and Maximum properties. If the minValue
parameter is greater than the maxValue
parameter, maxValue
is set equal to minValue
.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示