1 write to _twoPaneViewLayoutGuide
Microsoft.Maui.Controls.Foldable (1)
TwoPaneView.cs (1)
229
_twoPaneViewLayoutGuide
= new TwoPaneViewLayoutGuide(this, dualScreenService);
26 references to _twoPaneViewLayoutGuide
Microsoft.Maui.Controls.Foldable (26)
TwoPaneView.cs (26)
250
if (
_twoPaneViewLayoutGuide
.DualScreenService != null)
252
_twoPaneViewLayoutGuide
.DualScreenService.OnLayoutChanged += DualScreenService_OnFeatureChanged;
274
_twoPaneViewLayoutGuide
.PropertyChanged += OnTwoPaneViewLayoutGuide;
278
_twoPaneViewLayoutGuide
.PropertyChanged -= OnTwoPaneViewLayoutGuide;
284
if (
_twoPaneViewLayoutGuide
.Pane1 == _layoutGuidePane1 &&
285
_twoPaneViewLayoutGuide
.Pane2 == _layoutGuidePane2 &&
286
_twoPaneViewLayoutGuide
.Mode == _layoutGuideMode &&
287
_twoPaneViewLayoutGuide
.Hinge == _layoutGuideHinge &&
288
_twoPaneViewLayoutGuide
.IsLandscape == _layoutGuideIsLandscape)
293
_layoutGuidePane1 =
_twoPaneViewLayoutGuide
.Pane1;
294
_layoutGuidePane2 =
_twoPaneViewLayoutGuide
.Pane2;
295
_layoutGuideMode =
_twoPaneViewLayoutGuide
.Mode;
296
_layoutGuideHinge =
_twoPaneViewLayoutGuide
.Hinge;
297
_layoutGuideIsLandscape =
_twoPaneViewLayoutGuide
.IsLandscape;
351
_twoPaneViewLayoutGuide
.UpdateLayouts(width, height);
353
if (
_twoPaneViewLayoutGuide
.Mode != TwoPaneViewMode.SinglePane)
355
if (
_twoPaneViewLayoutGuide
.Mode == TwoPaneViewMode.Wide)
363
else if (
_twoPaneViewLayoutGuide
.Mode == TwoPaneViewMode.Tall)
457
Rect pane1 =
_twoPaneViewLayoutGuide
.Pane1;
458
Rect pane2 =
_twoPaneViewLayoutGuide
.Pane2;
459
bool isLayoutSpanned =
_twoPaneViewLayoutGuide
.Mode != TwoPaneViewMode.SinglePane;
461
_previousHinge =
_twoPaneViewLayoutGuide
.Hinge;
463
if (
_twoPaneViewLayoutGuide
.Mode != TwoPaneViewMode.SinglePane && newMode != ViewMode.Pane1Only && newMode != ViewMode.Pane2Only)
465
_previousHinge =
_twoPaneViewLayoutGuide
.Hinge;
466
Rect hinge =
_twoPaneViewLayoutGuide
.Hinge;
468
if (
_twoPaneViewLayoutGuide
.Mode == TwoPaneViewMode.Wide)