35 references to ViewMode
Microsoft.Maui.Controls.Foldable (35)
TwoPaneView.cs (35)
39 ViewMode _currentMode; 349 ViewMode newMode = (PanePriority == TwoPaneViewPriority.Pane1) ? ViewMode.Pane1Only : ViewMode.Pane2Only; 360 newMode = (WideModeConfiguration == TwoPaneViewWideModeConfiguration.LeftRight) ? ViewMode.LeftRight : ViewMode.RightLeft; 368 newMode = (TallModeConfiguration == TwoPaneViewTallModeConfiguration.TopBottom) ? ViewMode.TopBottom : ViewMode.BottomTop; 378 newMode = (WideModeConfiguration == TwoPaneViewWideModeConfiguration.LeftRight) ? ViewMode.LeftRight : ViewMode.RightLeft; 383 newMode = (TallModeConfiguration == TwoPaneViewTallModeConfiguration.TopBottom) ? ViewMode.TopBottom : ViewMode.BottomTop; 399 case ViewMode.Pane1Only: 401 case ViewMode.Pane2Only: 403 case ViewMode.LeftRight: 406 case ViewMode.RightLeft: 409 case ViewMode.TopBottom: 412 case ViewMode.BottomTop: 447 void UpdateRowsColumns(ViewMode newMode, double newWidth, double newHeight) 463 if (_twoPaneViewLayoutGuide.Mode != TwoPaneViewMode.SinglePane && newMode != ViewMode.Pane1Only && newMode != ViewMode.Pane2Only) 494 if (newMode == ViewMode.LeftRight || newMode == ViewMode.RightLeft) 496 columnLeft.Width = ((newMode == ViewMode.LeftRight) ? Pane1Length : Pane2Length); 497 columnRight.Width = ((newMode == ViewMode.LeftRight) ? Pane2Length : Pane1Length); 505 if (newMode == ViewMode.TopBottom || newMode == ViewMode.BottomTop) 507 rowTop.Height = ((newMode == ViewMode.TopBottom) ? Pane1Length : Pane2Length); 508 rowBottom.Height = ((newMode == ViewMode.TopBottom) ? Pane2Length : Pane1Length); 519 case ViewMode.LeftRight: 537 case ViewMode.RightLeft: 555 case ViewMode.TopBottom: 574 case ViewMode.BottomTop: 592 case ViewMode.Pane1Only: 609 case ViewMode.Pane2Only: