13 references to ViewportInformation
Aspire.Dashboard (13)
Components\Layout\ResourcesLayout.razor.cs (13)
493if (!ViewportInformation.IsDesktop) 497if (!ViewportInformation.IsDesktop && (_isPaneFullCanvas || _isPaneSelectionReveal)) 552_isDrawerOpen = !ViewportInformation.IsDesktop && showResourceList; 583var showResizer = ViewportInformation.IsDesktop && !_isPaneCollapsed && !_isPaneFullCanvas; 713private string? GetLayoutStyle() => _paneWidth is { } width && ViewportInformation.IsDesktop 721if (!ViewportInformation.IsDesktop || !DashboardClient.IsEnabled || 736_isPaneFullCanvas = ViewportInformation.IsDesktop && visible; 737_isDrawerOpen = !ViewportInformation.IsDesktop && visible; 1275else if (isInitialLanding && ViewportInformation.IsDesktop) 1300if (!ViewportInformation.IsDesktop || !_isLoaded || _pendingLandingRedirect || _isDecidingLanding) 2854_jsModule is not null && !_isDisposed && isDesktop == ViewportInformation.IsDesktop) 2872|| isDesktop != ViewportInformation.IsDesktop 2905if (!isFocused || _isDisposed || isDesktop != ViewportInformation.IsDesktop || _navigatingToTab != tab ||