19 references to ViewportInformation
Aspire.Dashboard (4)
Components\Layout\MainLayout.razor.cs (4)
256
if (
ViewportInformation
.IsDesktop && _isNavMenuOpen)
263
private string GetDefaultReturnFocusElementId(string desktopButtonId) =>
ViewportInformation
.IsDesktop ? desktopButtonId : NavigationButtonId;
420
if (
ViewportInformation
.IsDesktop)
451
if (
ViewportInformation
.IsDesktop)
Aspire.Dashboard.Components.Tests (15)
Layout\MainLayoutTests.cs (15)
80
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
129
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
180
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
227
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
258
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: isDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false));
298
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: isDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false));
339
component => component.
ViewportInformation
,
381
component => component.
ViewportInformation
,
429
builder.Add(component => component.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
611
builder.Add(component => component.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
771
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
825
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
890
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
941
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));
1036
builder.Add(p => p.
ViewportInformation
, new ViewportInformation(IsDesktop: true, IsUltraLowHeight: false, IsUltraLowWidth: false));