44 references to FlyoutPage
Microsoft.Maui.Controls (44)
FlyoutPage\FlyoutPage.cs (14)
17
public partial class FlyoutPage : Page, IFlyoutPageController, IElementConfiguration<
FlyoutPage
>, IFlyoutView
20
public static readonly BindableProperty IsGestureEnabledProperty = BindableProperty.Create(nameof(IsGestureEnabled), typeof(bool), typeof(
FlyoutPage
), true);
23
public static readonly BindableProperty IsPresentedProperty = BindableProperty.Create(nameof(IsPresented), typeof(bool), typeof(
FlyoutPage
), default(bool),
27
public static readonly BindableProperty FlyoutLayoutBehaviorProperty = BindableProperty.Create(nameof(FlyoutLayoutBehavior), typeof(FlyoutLayoutBehavior), typeof(
FlyoutPage
), default(FlyoutLayoutBehavior),
269
internal static void UpdateFlyoutLayoutBehavior(
FlyoutPage
page)
280
=> ((
FlyoutPage
)sender).IsPresentedChanged?.Invoke(sender, EventArgs.Empty);
286
if (sender is
FlyoutPage
fp && fp is IFlyoutPageController fpc && !fpc.CanChangeIsPresented)
291
if ((!(bool)newValue) && sender is IFlyoutPageController fpc && fpc.ShouldShowSplitMode && sender is
FlyoutPage
fp)
300
var
page = (
FlyoutPage
)sender;
312
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
FlyoutPage
>>(() => new PlatformConfigurationRegistry<
FlyoutPage
>(this));
317
readonly Lazy<PlatformConfigurationRegistry<
FlyoutPage
>> _platformConfigurationRegistry;
320
public new IPlatformElementConfiguration<T,
FlyoutPage
> On<T>() where T : IConfigPlatform
Hosting\AppHostBuilderExtensions.cs (1)
252
FlyoutPage
.RemapForControls();
Menu\MenuItemTracker.cs (8)
106
if (page is
FlyoutPage
)
108
var
flyoutDetail = (
FlyoutPage
)page;
171
propertyChangedEventArgs.PropertyName ==
FlyoutPage
.IsPresentedProperty.PropertyName ||
186
if (page is
FlyoutPage
)
204
if (page is
FlyoutPage
)
247
if (page is
FlyoutPage
)
260
if (page is
FlyoutPage
)
NavigationPage\NavigationPage.cs (4)
552
var
flyoutPage = _toolbar.FindParentOfType<
FlyoutPage
>();
569
var
flyoutPage = this.FindParentOfType<
FlyoutPage
>();
NavigationPage\NavigationPageToolbar.cs (1)
171
if (Parent is
FlyoutPage
flyout && flyout.ShouldShowToolbarButton() && !anyPagesPushed.Value)
Page\Page.cs (1)
21
/// <remarks><see cref = "Page" /> is primarily a base class for more useful derived types. Objects that are derived from the <see cref="Page"/> class are most prominently used as the top level UI element in .NET MAUI applications. In addition to their role as the main pages of applications, <see cref="Page"/> objects and their descendants can be used with navigation classes, such as <see cref="NavigationPage"/> or <see cref="
FlyoutPage
"/>, among others, to provide rich user experiences that conform to the expected behaviors on each platform.
Platform\PageExtensions.cs (1)
13
else if (currentPage is
FlyoutPage
fp)
PlatformConfiguration\iOSSpecific\FlyoutPage.cs (4)
5
using FormsElement = Maui.Controls.
FlyoutPage
;
27
public static IPlatformElementConfiguration<iOS,
FormsElement
> SetApplyShadow(this IPlatformElementConfiguration<iOS,
FormsElement
> config, bool value)
34
public static bool GetApplyShadow(this IPlatformElementConfiguration<iOS,
FormsElement
> config)
PlatformConfiguration\WindowsSpecific\FlyoutPage.cs (9)
6
using FormsElement = Maui.Controls.
FlyoutPage
;
31
public static CollapseStyle GetCollapseStyle(this IPlatformElementConfiguration<Windows,
FormsElement
> config)
37
public static IPlatformElementConfiguration<Windows,
FormsElement
> SetCollapseStyle(
38
this IPlatformElementConfiguration<Windows,
FormsElement
> config, CollapseStyle value)
45
public static IPlatformElementConfiguration<Windows,
FormsElement
> UsePartialCollapse(
46
this IPlatformElementConfiguration<Windows,
FormsElement
> config)
74
public static double CollapsedPaneWidth(this IPlatformElementConfiguration<Windows,
FormsElement
> config)
80
public static IPlatformElementConfiguration<Windows,
FormsElement
> CollapsedPaneWidth(
81
this IPlatformElementConfiguration<Windows,
FormsElement
> config, double value)
Shell\ShellContent.cs (1)
101
if (result is
FlyoutPage
)