21 references to UIStatusBarAnimation
Microsoft.Maui.Controls (9)
PlatformConfiguration\iOSSpecific\Page.cs (9)
65
BindableProperty.Create("PreferredStatusBarUpdateAnimation", typeof(
UIStatusBarAnimation
), typeof(Page),
UIStatusBarAnimation
.None);
72
public static
UIStatusBarAnimation
GetPreferredStatusBarUpdateAnimation(BindableObject element)
74
return (
UIStatusBarAnimation
)element.GetValue(PreferredStatusBarUpdateAnimationProperty);
82
public static void SetPreferredStatusBarUpdateAnimation(BindableObject element,
UIStatusBarAnimation
value)
84
if (value ==
UIStatusBarAnimation
.Fade)
86
else if (value ==
UIStatusBarAnimation
.Slide)
97
public static
UIStatusBarAnimation
PreferredStatusBarUpdateAnimation(this IPlatformElementConfiguration<iOS, FormsElement> config)
108
public static IPlatformElementConfiguration<iOS, FormsElement> SetPreferredStatusBarUpdateAnimation(this IPlatformElementConfiguration<iOS, FormsElement> config,
UIStatusBarAnimation
value)
Microsoft.Maui.Controls.Compatibility (12)
iOS\Renderers\NavigationRenderer.cs (2)
17
using PageUIStatusBarAnimation = Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.
UIStatusBarAnimation
;
551
PageUIStatusBarAnimation
animation = PlatformConfiguration.iOSSpecific.Page.PreferredStatusBarUpdateAnimation(((Page)Element).OnThisPlatform());
iOS\Renderers\PageRenderer.cs (8)
12
using PageUIStatusBarAnimation = Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.
UIStatusBarAnimation
;
308
var
animation = Page.OnThisPlatform().PreferredStatusBarUpdateAnimation();
311
case (
PageUIStatusBarAnimation
.Fade):
313
case (
PageUIStatusBarAnimation
.Slide):
315
case (
PageUIStatusBarAnimation
.None):
431
var
animation = Page.OnThisPlatform().PreferredStatusBarUpdateAnimation();
432
if (animation ==
PageUIStatusBarAnimation
.Fade || animation ==
PageUIStatusBarAnimation
.Slide)
iOS\Renderers\TabbedRenderer.cs (2)
12
using PageUIStatusBarAnimation = Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.
UIStatusBarAnimation
;
271
PageUIStatusBarAnimation
animation = ((Page)Element).OnThisPlatform().PreferredStatusBarUpdateAnimation();