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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor