Edit

Share via


WKInterfaceSlider.SetNumberOfSteps(nint) Method

Definition

Sets the number of steps between the minimum and maximum value of the slider.

[Foundation.Export("setNumberOfSteps:")]
public virtual void SetNumberOfSteps (nint numberOfSteps);
abstract member SetNumberOfSteps : nint -> unit
override this.SetNumberOfSteps : nint -> unit

Parameters

numberOfSteps
System.System.IntPtr System.nativeint

The number of discrete steps between the minimum and maximum values.

Attributes

Remarks

The minimum and maximum values of the slider and whether or not it is discrete or continuous are set in the storyboard.

Applies to