17 references to PresentationMode
Microsoft.Maui.Controls (17)
Shell\PresentationMode.cs (4)
18
ModalAnimated =
PresentationMode
.Animated |
PresentationMode
.Modal,
20
ModalNotAnimated =
PresentationMode
.NotAnimated |
PresentationMode
.Modal
Shell\Shell.cs (5)
52
public static readonly BindableProperty PresentationModeProperty = BindableProperty.CreateAttached("PresentationMode", typeof(
PresentationMode
), typeof(Shell),
PresentationMode
.Animated);
208
public static
PresentationMode
GetPresentationMode(BindableObject obj) => (
PresentationMode
)obj.GetValue(PresentationModeProperty);
215
public static void SetPresentationMode(BindableObject obj,
PresentationMode
presentationMode) => obj.SetValue(PresentationModeProperty, presentationMode);
Shell\ShellSection.cs (8)
628
return (Shell.GetPresentationMode(bo) &
PresentationMode
.Modal) ==
PresentationMode
.Modal;
633
return (Shell.GetPresentationMode(bo) &
PresentationMode
.NotAnimated) !=
PresentationMode
.NotAnimated;
909
bool isAnimated = animated ?? (Shell.GetPresentationMode(pageToPop) &
PresentationMode
.NotAnimated) !=
PresentationMode
.NotAnimated;
1149
Shell.SetPresentationMode(modal,
PresentationMode
.ModalAnimated);
1151
Shell.SetPresentationMode(modal,
PresentationMode
.ModalNotAnimated);