Page.SetPreferredStatusBarUpdateAnimation Method

Definition

Overloads

SetPreferredStatusBarUpdateAnimation(BindableObject, UIStatusBarAnimation)

Sets a value that controls whether the preferred animation style to use when updating the status bar is None, Slide, or Fade.

SetPreferredStatusBarUpdateAnimation(IPlatformElementConfiguration<iOS,Page>, UIStatusBarAnimation)

Sets a value that controls whether the preferred animation style to use when updating the status bar is None, Slide, or Fade.

SetPreferredStatusBarUpdateAnimation(BindableObject, UIStatusBarAnimation)

Sets a value that controls whether the preferred animation style to use when updating the status bar is None, Slide, or Fade.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
UIStatusBarAnimation

The new property value to assign.

Applies to

SetPreferredStatusBarUpdateAnimation(IPlatformElementConfiguration<iOS,Page>, UIStatusBarAnimation)

Sets a value that controls whether the preferred animation style to use when updating the status bar is None, Slide, or Fade.

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

Parameters

config
IPlatformElementConfiguration<iOS,Page>

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

value
UIStatusBarAnimation

The new property value to assign.

Returns

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

Applies to