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)
50
public static readonly BindableProperty PresentationModeProperty = BindableProperty.CreateAttached("PresentationMode", typeof(
PresentationMode
), typeof(Shell),
PresentationMode
.Animated);
206
public static
PresentationMode
GetPresentationMode(BindableObject obj) => (
PresentationMode
)obj.GetValue(PresentationModeProperty);
213
public static void SetPresentationMode(BindableObject obj,
PresentationMode
presentationMode) => obj.SetValue(PresentationModeProperty, presentationMode);
Shell\ShellSection.cs (8)
615
return (Shell.GetPresentationMode(bo) &
PresentationMode
.Modal) ==
PresentationMode
.Modal;
620
return (Shell.GetPresentationMode(bo) &
PresentationMode
.NotAnimated) !=
PresentationMode
.NotAnimated;
896
bool isAnimated = animated ?? (Shell.GetPresentationMode(pageToPop) &
PresentationMode
.NotAnimated) !=
PresentationMode
.NotAnimated;
1136
Shell.SetPresentationMode(modal,
PresentationMode
.ModalAnimated);
1138
Shell.SetPresentationMode(modal,
PresentationMode
.ModalNotAnimated);