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