Slider.SetUpdateOnTap 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetUpdateOnTap(BindableObject, Boolean) |
设置一个布尔值,指示点击滑块是否将更新其值。 |
SetUpdateOnTap(IPlatformElementConfiguration<iOS,Slider>, Boolean) |
设置一个布尔值,指示点击滑块是否将更新其值。 |
SetUpdateOnTap(BindableObject, Boolean)
设置一个布尔值,指示点击滑块是否将更新其值。
public static void SetUpdateOnTap (Xamarin.Forms.BindableObject element, bool value);
static member SetUpdateOnTap : Xamarin.Forms.BindableObject * bool -> unit
参数
- element
- BindableObject
要为其设置点击滑块是否更新其值的元素。
- value
- System.Boolean
true
点击是否会更新该值。 否则为 false
。
适用于
SetUpdateOnTap(IPlatformElementConfiguration<iOS,Slider>, Boolean)
设置一个布尔值,指示点击滑块是否将更新其值。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Slider> SetUpdateOnTap (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Slider> config, bool value);
static member SetUpdateOnTap : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Slider> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Slider>
参数
- config
- IPlatformElementConfiguration<iOS,Slider>
要为其设置点击滑块是否更新其值的元素的平台配置。
- value
- System.Boolean
true
点击是否会更新该值。 否则为 false
。
返回
开发者可对其进行更多方法调用的 fluent 对象。