24 references to FlyoutLayoutBehavior
Microsoft.Maui.Controls (15)
FlyoutPage\FlyoutPage.cs (15)
24
public static readonly BindableProperty FlyoutLayoutBehaviorProperty = BindableProperty.Create(nameof(FlyoutLayoutBehavior), typeof(
FlyoutLayoutBehavior
), typeof(FlyoutPage), default(
FlyoutLayoutBehavior
),
130
public
FlyoutLayoutBehavior
FlyoutLayoutBehavior
132
get { return (
FlyoutLayoutBehavior
)GetValue(FlyoutLayoutBehaviorProperty); }
169
FlyoutLayoutBehavior
behavior = FlyoutLayoutBehavior;
172
bool isSplitOnLandscape = (behavior ==
FlyoutLayoutBehavior
.SplitOnLandscape || behavior ==
FlyoutLayoutBehavior
.Default) && orientation.IsLandscape();
173
bool isSplitOnPortrait = behavior ==
FlyoutLayoutBehavior
.SplitOnPortrait && orientation.IsPortrait();
174
return behavior ==
FlyoutLayoutBehavior
.Split || isSplitOnLandscape || isSplitOnPortrait;
186
FlyoutLayoutBehavior
behavior = FlyoutLayoutBehavior;
189
bool isSplitOnLandscape = (behavior ==
FlyoutLayoutBehavior
.SplitOnLandscape || behavior ==
FlyoutLayoutBehavior
.Default) && orientation.IsLandscape();
190
bool isSplitOnPortrait = behavior ==
FlyoutLayoutBehavior
.SplitOnPortrait && orientation.IsPortrait();
191
return behavior !=
FlyoutLayoutBehavior
.Split && !isSplitOnLandscape && !isSplitOnPortrait;
271
if (page.FlyoutLayoutBehavior !=
FlyoutLayoutBehavior
.Default)
Microsoft.Maui.Controls.Compatibility (9)
iOS\Renderers\TabletFlyoutPageRenderer.cs (9)
342
case
FlyoutLayoutBehavior
.Split:
345
case
FlyoutLayoutBehavior
.Popover:
348
case
FlyoutLayoutBehavior
.SplitOnPortrait:
351
case
FlyoutLayoutBehavior
.SplitOnLandscape:
559
readonly
FlyoutLayoutBehavior
_flyoutPresentedDefaultState;
561
public InnerDelegate(
FlyoutLayoutBehavior
flyoutPresentedDefaultState)
571
case
FlyoutLayoutBehavior
.Split:
574
case
FlyoutLayoutBehavior
.Popover:
577
case
FlyoutLayoutBehavior
.SplitOnPortrait: