23 references to IsExplicitSet
Microsoft.Maui (15)
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 (8)
44 if (view.HorizontalLayoutAlignment == LayoutAlignment.Fill && !IsExplicitSet(view.Width)) 58 if (view.VerticalLayoutAlignment == LayoutAlignment.Fill && !IsExplicitSet(view.Height)) 77 if (alignment == LayoutAlignment.Fill && (IsExplicitSet(view.Width) || !double.IsInfinity(view.MaximumWidth))) 84 desiredWidth = IsExplicitSet(view.Width) ? desiredWidth : Math.Min(bounds.Width, view.MaximumWidth); 114 if (alignment == LayoutAlignment.Fill && (IsExplicitSet(view.Height) || !double.IsInfinity(view.MaximumHeight))) 121 desiredHeight = IsExplicitSet(view.Height) ? desiredHeight : Math.Min(bounds.Height, view.MaximumHeight); 149 if (Dimension.IsExplicitSet(contentView.Width)) 154 if (Dimension.IsExplicitSet(contentView.Height))
Layouts\LayoutManager.cs (1)
21 var length = IsExplicitSet(explicitLength) ? explicitLength : measuredLength;
Microsoft.Maui.Controls (8)
Editor\Editor.cs (6)
156 (!IsExplicitSet(view.Width) || !IsExplicitSet(view.Height)) 160 if (IsExplicitSet(view.MinimumWidth) && Width < view.MinimumWidth || 161 IsExplicitSet(view.MaximumWidth) && Width > view.MaximumWidth || 162 IsExplicitSet(view.MinimumHeight) && Height < view.MinimumHeight || 163 IsExplicitSet(view.MaximumHeight) && Height > view.MaximumHeight)
Window\Window.cs (2)
195 if (!Primitives.Dimension.IsExplicitSet(coord)) 205 if (coord == -1 || !Primitives.Dimension.IsExplicitSet(coord))