4 writes to CompressionSpace
Microsoft.Maui.Controls (4)
LegacyLayouts\StackLayout.cs (4)
127
layout.
CompressionSpace
= 0;
145
layout.
CompressionSpace
= 0;
178
layout.
CompressionSpace
+= Math.Max(0, request.Request.Height - request.Minimum.Height);
213
layout.
CompressionSpace
+= Math.Max(0, request.Request.Width - request.Minimum.Width);
5 references to CompressionSpace
Microsoft.Maui.Controls (5)
LegacyLayouts\StackLayout.cs (5)
241
double compressionSpace = layout.
CompressionSpace
;
242
double compressionPressure = (requiredCompression / layout.
CompressionSpace
).Clamp(0, 1);
289
if (layout.
CompressionSpace
<= 0)
313
double compressionSpace = layout.
CompressionSpace
;
314
double compressionPressure = (requiredCompression / layout.
CompressionSpace
).Clamp(0, 1);