12 references to DualScreenService
Microsoft.Maui.Controls.Foldable (12)
TwoPaneView.cs (2)
250
if (_twoPaneViewLayoutGuide.
DualScreenService
!= null)
252
_twoPaneViewLayoutGuide.
DualScreenService
.OnLayoutChanged += DualScreenService_OnFeatureChanged;
TwoPaneViewLayoutGuide.cs (10)
71
DualScreenService
.OnLayoutChanged += OnDualScreenServiceChanged;
88
get =>
DualScreenService
.IsLandscape;
139
return
DualScreenService
.GetHinge();
153
containerArea = new Rect(Point.Zero,
DualScreenService
.ScaledScreenSize);
168
containerArea = new Rect(Point.Zero,
DualScreenService
.ScaledScreenSize);
172
var locationOnScreen =
DualScreenService
.GetLocationOnScreen(_layout);
238
if (
DualScreenService
.IsLandscape)
293
Hinge =
DualScreenService
.GetHinge();
294
IsLandscape =
DualScreenService
.IsLandscape;
314
var hinge =
DualScreenService
.GetHinge();