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