UIKit.UISlider.SetValue Method
Assign a new value to the control - optionally animating the change.

Syntax

[Foundation.Export("setValue:animated:")]
public virtual void SetValue (float value, bool animated)

Parameters

value
A new value for the control.
animated
If true then change will be animated in the control.

Remarks

If value is less than the value of UISlider.MinValue or greater than the value of UISlider.MaxValue, the value of the control will be set to the mininum value or maximum value respectively.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0