共用方式為


Page.GetPreferredStatusBarUpdateAnimation(BindableObject) Method

Definition

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

public:
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UIStatusBarAnimation GetPreferredStatusBarUpdateAnimation(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIStatusBarAnimation GetPreferredStatusBarUpdateAnimation (Microsoft.Maui.Controls.BindableObject element);
static member GetPreferredStatusBarUpdateAnimation : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIStatusBarAnimation
Public Function GetPreferredStatusBarUpdateAnimation (element As BindableObject) As UIStatusBarAnimation

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

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

Applies to