40 references to FlyoutBehavior
Microsoft.Maui (1)
Core\IFlyoutView.cs (1)
27 FlyoutBehavior FlyoutBehavior { get; }
Microsoft.Maui.Controls (39)
Compatibility\Handlers\Shell\iOS\IShellFlyoutTransition.cs (1)
11 void LayoutViews(CGRect bounds, nfloat openPercent, UIView flyout, UIView shell, FlyoutBehavior behavior);
Compatibility\Handlers\Shell\iOS\ShellFlyoutRenderer.cs (9)
77 if (!context.AllowFlyoutGesture || _flyoutBehavior != FlyoutBehavior.Flyout) 110 void IFlyoutBehaviorObserver.OnFlyoutBehaviorChanged(FlyoutBehavior behavior) 113 if (behavior == FlyoutBehavior.Locked) 115 else if (behavior == FlyoutBehavior.Disabled) 125 FlyoutBehavior _flyoutBehavior; 177 case FlyoutBehavior.Flyout: 183 case FlyoutBehavior.Locked: 189 case FlyoutBehavior.Disabled: 491 if (IsOpen && _flyoutBehavior == FlyoutBehavior.Flyout)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (4)
58 FlyoutBehavior _flyoutBehavior; 82 public void OnFlyoutBehaviorChanged(FlyoutBehavior behavior) 349 else if (String.IsNullOrWhiteSpace(text) && IsRootPage && _flyoutBehavior == FlyoutBehavior.Flyout) 443 else if (_flyoutBehavior == FlyoutBehavior.Flyout)
Compatibility\Handlers\Shell\iOS\SlideFlyoutTransition.cs (3)
27 public virtual void LayoutViews(CGRect bounds, nfloat openPercent, UIView flyout, UIView shell, FlyoutBehavior behavior) 29 if (behavior == FlyoutBehavior.Locked) 50 if (behavior == FlyoutBehavior.Locked)
FlyoutPage\FlyoutPage.cs (5)
326 Handler?.UpdateValue(nameof(FlyoutBehavior)); 347 Handler?.UpdateValue(nameof(FlyoutBehavior)); 353 Maui.FlyoutBehavior IFlyoutView.FlyoutBehavior 358 return Maui.FlyoutBehavior.Locked; 360 return Maui.FlyoutBehavior.Flyout;
Shell\IShellController.cs (1)
17 void OnFlyoutBehaviorChanged(FlyoutBehavior behavior);
Shell\Shell.cs (14)
60 BindableProperty.CreateAttached(nameof(FlyoutBehavior), typeof(FlyoutBehavior), typeof(Shell), FlyoutBehavior.Flyout, 220 public static FlyoutBehavior GetFlyoutBehavior(BindableObject obj) => (FlyoutBehavior)obj.GetValue(FlyoutBehaviorProperty); 231 public static void SetFlyoutBehavior(BindableObject obj, FlyoutBehavior value) => obj.SetValue(FlyoutBehaviorProperty, value); 837 if (platformInitiated && FlyoutIsPresented && GetEffectiveFlyoutBehavior() != FlyoutBehavior.Locked) 1383 public FlyoutBehavior FlyoutBehavior 1385 get => (FlyoutBehavior)GetValue(FlyoutBehaviorProperty); 1753 internal FlyoutBehavior GetEffectiveFlyoutBehavior() 1763 return FlyoutBehavior.Flyout; 1765 return FlyoutBehavior.Disabled; 1775 return FlyoutBehavior.Disabled; 1868 var behavior = (this as IFlyoutView).FlyoutBehavior; 1989 FlyoutBehavior IFlyoutView.FlyoutBehavior
ShellToolbar.cs (2)
106 var flyoutBehavior = (_shell as IFlyoutView).FlyoutBehavior; 118 flyoutBehavior == FlyoutBehavior.Flyout);