You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sets the image of the thumb using ImageSource depending if light or dark mode
thumbImage(light: string, ?dark: string)
Sets the image of the thumb using a path depending if light or dark mode
thumbImage(light: Uri, ?dark: Uri)
Sets the image of the thumb using a URI depending if light or dark mode
thumbImage(light: Stream, ?dark: Stream)
Sets the image of the thumb using Stream depending if light or dark mode
reference(value: ViewRef<Slider>)
Sets a ViewRef instance to retrieve the Xamarin.Forms.Slider instance associated to this widget
Events
Properties
Description
onDragCompleted(onDragCompleted: ‘msg)
Sets the event handler for the drag completed event
onDragStarted(onDragStarted: ‘msg)
Sets the event handler for the drag start event
Usages
Slider(20.,80., model.Value, ValueChangedMsg)
.maximumTrackColor(Color.Red.ToFabColor(), dark = Color.Blue.ToString())
.minimumTrackColor(Color.Red.ToFabColor(), dark = Color.Blue.ToString())
.thumbColor(Color.Red.ToFabColor(), dark = Color.Blue.ToString())
.thumbImage("thumb-light.png", dark ="thumb-dark.png")
.onDragCompleted(DragCompletedMsg)
.onDragStarted(DragStartedMsg)