共用方式為


Picker.SetUpdateMode Method

Definition

Overloads

SetUpdateMode(BindableObject, UpdateMode)

Sets a value that controls whether elements in the picker are continuously updated while scrolling or updated once after scrolling has completed.

SetUpdateMode(IPlatformElementConfiguration<iOS,Picker>, UpdateMode)

Sets a value that controls whether elements in the picker are continuously updated while scrolling or updated once after scrolling has completed.

SetUpdateMode(BindableObject, UpdateMode)

Source:
Picker.cs
Source:
Picker.cs

Sets a value that controls whether elements in the picker are continuously updated while scrolling or updated once after scrolling has completed.

public:
 static void SetUpdateMode(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UpdateMode value);
public static void SetUpdateMode (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UpdateMode value);
static member SetUpdateMode : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UpdateMode -> unit
Public Sub SetUpdateMode (element As BindableObject, value As UpdateMode)

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
UpdateMode

The new property value to assign.

Applies to

SetUpdateMode(IPlatformElementConfiguration<iOS,Picker>, UpdateMode)

Source:
Picker.cs
Source:
Picker.cs

Sets a value that controls whether elements in the picker are continuously updated while scrolling or updated once after scrolling has completed.

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

Parameters

config
IPlatformElementConfiguration<iOS,Picker>

The platform specific configuration that contains the element on which to perform the operation.

value
UpdateMode

The new property value to assign.

Returns

The updated configuration object on which developers can make successive method calls.

Applies to