1 write to Value
Microsoft.Maui (1)
Primitives\GridLength.cs (1)
57
Value
= value;
30 references to Value
Microsoft.Maui (12)
Layouts\GridLayoutManager.cs (8)
653
definition.Size = starSize * definition.GridLength.
Value
;
871
var maxSize = starSize * def.GridLength.
Value
;
913
maxCurrentStarSize = Math.Max(maxCurrentStarSize, definitionSize / definition.GridLength.
Value
);
930
definition.Size = targetStarSize * definition.GridLength.
Value
;
948
double fullTargetSize = targetStarSize * definition.GridLength.
Value
;
959
double fullTargetSize = targetStarSize * definition.GridLength.
Value
;
1101
starCount += definition.GridLength.
Value
;
1243
Size = gridLength.
Value
;
Primitives\GridLength.cs (4)
69
return GridUnitType == other.GridUnitType && Math.Abs(
Value
- other.
Value
) < double.Epsilon;
75
return GridUnitType.GetHashCode() * 397 ^
Value
.GetHashCode();
86
return string.Format("{0}.{1}",
Value
, GridUnitType);
Microsoft.Maui.Controls (18)
GridLengthTypeConverter.cs (2)
45
return $"{length.
Value
.ToString(CultureInfo.InvariantCulture)}*";
46
return $"{length.
Value
.ToString(CultureInfo.InvariantCulture)}";
LegacyLayouts\GridCalc.cs (16)
128
totalStarsHeight += row.Height.
Value
;
136
totalStarsWidth += col.Width.
Value
;
161
row.ActualHeight = row.Height.
Value
;
168
col.ActualWidth = col.Width.
Value
;
255
col.ActualWidth = col.Width.
Value
* starColWidth;
262
row.ActualHeight = row.Height.
Value
* starRowHeight;
425
column.ActualWidth -= delta * column.Width.
Value
;
487
row.ActualHeight -= delta * row.Height.
Value
;
612
col.ActualWidth = col.Width.
Value
* starColWidth;
642
row.ActualHeight = row.Height.
Value
* starRowHeight;
694
if (!col.Width.IsStar || col.Width.
Value
== 0 || col.ActualWidth <= 0)
697
starColRequestWidth = Math.Max(starColRequestWidth, col.ActualWidth / col.Width.
Value
);
698
starColMinWidth = Math.Max(starColMinWidth, col.MinimumWidth / col.Width.
Value
);
755
if (!row.Height.IsStar || row.Height.
Value
== 0 || row.ActualHeight <= 0)
758
starRowRequestHeight = Math.Max(starRowRequestHeight, row.ActualHeight / row.Height.
Value
);
759
starRowMinHeight = Math.Max(starRowMinHeight, row.MinimumHeight / row.Height.
Value
);