共用方式為


Slider.SetUpdateOnTap Method

Definition

Overloads

SetUpdateOnTap(BindableObject, Boolean)

Sets a Boolean value that tells whether tapping on the slider will update its value.

SetUpdateOnTap(IPlatformElementConfiguration<iOS,Slider>, Boolean)

Sets a Boolean value that tells whether tapping on the slider will update its value.

SetUpdateOnTap(BindableObject, Boolean)

Source:
Slider.cs
Source:
Slider.cs

Sets a Boolean value that tells whether tapping on the slider will update its value.

public:
 static void SetUpdateOnTap(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetUpdateOnTap (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetUpdateOnTap : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetUpdateOnTap (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

The element for which to set whether tapping on the slider updates its value.

value
Boolean

true if tapping will update the value. Otherwise, false.

Applies to

SetUpdateOnTap(IPlatformElementConfiguration<iOS,Slider>, Boolean)

Source:
Slider.cs
Source:
Slider.cs

Sets a Boolean value that tells whether tapping on the slider will update its value.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Slider ^> ^ SetUpdateOnTap(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Slider ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Slider> SetUpdateOnTap (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Slider> config, bool value);
static member SetUpdateOnTap : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Slider> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Slider>
<Extension()>
Public Function SetUpdateOnTap (config As IPlatformElementConfiguration(Of iOS, Slider), value As Boolean) As IPlatformElementConfiguration(Of iOS, Slider)

Parameters

config
IPlatformElementConfiguration<iOS,Slider>

The platform configuration for the element for which to set whether tapping on the slider updates its value.

value
Boolean

true if tapping will update the value. Otherwise, false.

Returns

A fluent object on which the developer may make more method calls.

Applies to