1 write to Stack
Microsoft.Maui (1)
Layouts\StackLayoutManager.cs (1)
10 Stack = stack;
31 references to Stack
Microsoft.Maui (31)
Layouts\HorizontalStackLayoutManager.cs (16)
14 var padding = Stack.Padding; 20 for (int n = 0; n < Stack.Count; n++) 22 var child = Stack[n]; 35 measuredWidth += MeasureSpacing(Stack.Spacing, spacingCount); 39 var finalHeight = ResolveConstraints(heightConstraint, Stack.Height, measuredHeight, Stack.MinimumHeight, Stack.MaximumHeight); 40 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth); 47 var padding = Stack.Padding; 48 double spacing = Stack.Spacing; 49 var childCount = Stack.Count; 58 for (int n = 0; n < Stack.Count; n++) 60 var child = Stack[n]; 78 return actual.AdjustForFill(bounds, Stack);
Layouts\VerticalStackLayoutManager.cs (15)
14 var padding = Stack.Padding; 21 for (int n = 0; n < Stack.Count; n++) 23 var child = Stack[n]; 36 measuredHeight += MeasureSpacing(Stack.Spacing, spacingCount); 40 var finalHeight = ResolveConstraints(heightConstraint, Stack.Height, measuredHeight, Stack.MinimumHeight, Stack.MaximumHeight); 41 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth); 48 var padding = Stack.Padding; 54 for (int n = 0; n < Stack.Count; n++) 56 var child = Stack[n]; 65 stackHeight += destination.Height + Stack.Spacing; 70 return actual.AdjustForFill(bounds, Stack);