Share via


Stepper Constructors

Definition

Overloads

Name Description
Stepper()

Initializes a new instance of the Stepper class with default minimum (0), maximum (100), and increment (1) values.

Stepper(Double, Double, Double, Double)

Initializes a new instance of the Stepper class with specified minimum, maximum, value, and increment.

Stepper()

Source:
Stepper.cs
Source:
Stepper.cs
Source:
Stepper.cs
Source:
Stepper.cs

Initializes a new instance of the Stepper class with default minimum (0), maximum (100), and increment (1) values.

public:
 Stepper();
public Stepper();
Public Sub New ()

Applies to

Stepper(Double, Double, Double, Double)

Source:
Stepper.cs
Source:
Stepper.cs
Source:
Stepper.cs
Source:
Stepper.cs

Initializes a new instance of the Stepper class with specified minimum, maximum, value, and increment.

public:
 Stepper(double min, double max, double val, double increment);
public Stepper(double min, double max, double val, double increment);
new Microsoft.Maui.Controls.Stepper : double * double * double * double -> Microsoft.Maui.Controls.Stepper
Public Sub New (min As Double, max As Double, val As Double, increment As Double)

Parameters

min
Double

The minimum value.

max
Double

The maximum value.

val
Double

The initial value, clamped between min and max.

increment
Double

The amount to increment or decrement the value by with each button press.

Exceptions

Thrown when min is greater than or equal to max.

Applies to