Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2 KB

stepper.md

File metadata and controls

35 lines (24 loc) · 2 KB

Stepper

Inheritance: Element -> NavigableElement -> VisualElement -> View
Xamarin.Forms documentation: Stepper API / Guide

For details on how the control actually works, please refer to the Xamarin.Forms documentation.

Constructors

Constructors Description
Stepper(min: float, max: float, value: float, onValueChanged: float -> ‘msg) Define a Stepper widget with the min-max bounds and the current value

Properties

Properties Description
increment(value: float) Sets the increment step between each selected values
reference(value: ViewRef<Stepper>) Sets a ViewRef instance to retrieve the Xamarin.Forms.Stepper instance associated to this widget

Usages

Stepper(1000., 5000., model.Value, ValueChangedMsg)
    .increment(250.)

Get access to the underlying Xamarin.Forms.Stepper

let stepperRef = ViewRef<Stepper>()

Stepper(1000., 5000., model.Value, ValueChangedMsg)
    .reference(stepperRef)