3 references to ViewportInformation
Aspire.Dashboard (2)
Components\Legacy\Layout\LegacyMainLayout.razor.cs (2)
312if (ViewportInformation.IsDesktop && _isNavMenuOpen) 319private string GetDefaultReturnFocusElementId(string desktopButtonId) => ViewportInformation.IsDesktop ? desktopButtonId : NavigationButtonId;
Aspire.Dashboard.Components.Tests (1)
Layout\MainLayoutTests.Legacy.cs (1)
24var cut = Render<LegacyMainLayout>(builder => builder.Add(p => p.ViewportInformation,