8 writes to Shrink
Microsoft.Maui.Controls (8)
Layout\FlexLayout.cs (4)
182 GetFlexItem(bindable).Shrink = (float)newValue; 440 item.Shrink = GetShrink(view); 678 item.Shrink = 0; 693 item.Shrink = GetShrink(child);
LegacyLayouts\FlexLayout.cs (4)
170 GetFlexItem(bindable).Shrink = (float)newValue; 328 item.Shrink = (float)view.GetValue(ShrinkProperty); 453 item.Shrink = 0; 478 item.Shrink = (float)child.GetValue(ShrinkProperty);
4 references to Shrink
Microsoft.Maui (4)
Layouts\Flex.cs (4)
558 || child.Shrink < 0) 562 layout.flex_shrinks += child.Shrink; 793 if (child.Shrink != 0) 795 flex_size = (layout.flex_dim / layout.flex_shrinks) * child.Shrink;