Picker.SetUpdateMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈