Slider

A continuous value picker.
public class Slider : Control

Properties

Continuous

Whether the value updates all through the drag, rather than only when the thumb is released.

Type: bool

public bool Continuous { get; set; }

EmptyTrackColor

The color of the unfilled part of the track, or null for the system default.

Type: Color?

public Color? EmptyTrackColor { get; set; }

MaxIcon

The local icon shown at the maximum end, or null for none.

Type: ImageSource?

public ImageSource? MaxIcon { get; set; }

Maximum

The maximum selectable value.

Type: double

public double Maximum { get; set; }

MinIcon

The local icon shown at the minimum end, or null for none.

Type: ImageSource?

public ImageSource? MinIcon { get; set; }

Minimum

The minimum selectable value.

Type: double

public double Minimum { get; set; }

Step

The increment the value snaps to, or 0 for continuous.

Stepping requires iOS 26 or later.

Type: double

public double Step { get; set; }

ThumbColor

The thumb color, or null for the system default.

Type: Color?

public Color? ThumbColor { get; set; }

TrackColor

The color of the filled part of the track, or null for the system tint.

Type: Color?

public Color? TrackColor { get; set; }

Value

The current value.

Type: Bindable<double>

public Bindable<double> Value { get; set; }

ValueChanged

Invoked with the new value whenever the user moves the slider.

Type: Action<double>?

public Action<double>? ValueChanged { get; set; }