31 references to Dimension
Microsoft.Maui (10)
Layouts\GridLayoutManager.cs (6)
92 _gridWidthConstraint = Dimension.IsExplicitSet(_explicitGridWidth) ? _explicitGridWidth : widthConstraint; 93 _gridHeightConstraint = Dimension.IsExplicitSet(_explicitGridHeight) ? _explicitGridHeight : heightConstraint; 305 var height = Dimension.IsExplicitSet(_explicitGridHeight) ? _explicitGridHeight : GridMinimumHeight(); 322 var width = Dimension.IsExplicitSet(_explicitGridWidth) ? _explicitGridWidth : GridMinimumWidth(); 807 && (Dimension.IsExplicitSet(_explicitGridHeight) 811 && (Dimension.IsExplicitSet(_explicitGridWidth)
Layouts\LayoutExtensions.cs (3)
5using static Microsoft.Maui.Primitives.Dimension; 149 if (Dimension.IsExplicitSet(contentView.Width)) 154 if (Dimension.IsExplicitSet(contentView.Height))
Layouts\LayoutManager.cs (1)
3using static Microsoft.Maui.Primitives.Dimension;
Microsoft.Maui.Controls (21)
Editor\Editor.cs (1)
7using static Microsoft.Maui.Primitives.Dimension;
VisualElement\VisualElement.cs (6)
2018 return Primitives.Dimension.Unset; 2026 return Primitives.Dimension.Unset; 2041 return Primitives.Dimension.Unset; 2049 return Primitives.Dimension.Unset; 2064 return Primitives.Dimension.Unset; 2081 return Primitives.Dimension.Unset;
Window\Window.cs (14)
33 nameof(X), typeof(double), typeof(Window), Primitives.Dimension.Unset); 37 nameof(Y), typeof(double), typeof(Window), Primitives.Dimension.Unset); 41 nameof(Width), typeof(double), typeof(Window), Primitives.Dimension.Unset); 45 nameof(Height), typeof(double), typeof(Window), Primitives.Dimension.Unset); 49 nameof(MaximumWidth), typeof(double), typeof(Window), Primitives.Dimension.Maximum); 53 nameof(MaximumHeight), typeof(double), typeof(Window), Primitives.Dimension.Maximum); 57 nameof(MinimumWidth), typeof(double), typeof(Window), Primitives.Dimension.Minimum); 61 nameof(MinimumHeight), typeof(double), typeof(Window), Primitives.Dimension.Minimum); 193 return Primitives.Dimension.Unset; 195 if (!Primitives.Dimension.IsExplicitSet(coord)) 196 return Primitives.Dimension.Unset; 203 return Primitives.Dimension.Unset; 205 if (coord == -1 || !Primitives.Dimension.IsExplicitSet(coord)) 206 return Primitives.Dimension.Unset;