2 writes to vertical
Microsoft.Maui (2)
Layouts\Flex.cs (2)
966
vertical
= true;
971
vertical
= false;
21 references to vertical
Microsoft.Maui (21)
Layouts\Flex.cs (21)
500
child.Frame[layout.frame_size2_i] = (layout.
vertical
? width : height) - child.MarginThickness(!layout.
vertical
);
532
basis *= (layout.
vertical
? height : width);
533
child.Frame[layout.frame_size_i] = basis - child.MarginThickness(layout.
vertical
);
551
if (!float.IsNaN(child_size2) && child_size2 + child.MarginThickness(!layout.
vertical
) > layout.line_dim)
553
layout.line_dim = child_size2 + child.MarginThickness(!layout.
vertical
);
569
layout.flex_dim -= child_size + child.MarginThickness(layout.
vertical
);
759
pos -= layout.
vertical
? item.PaddingBottom : item.PaddingRight;
763
pos += layout.
vertical
? item.PaddingTop : item.PaddingLeft;
807
align_pos += layout.line_dim - align_size - (layout.
vertical
? child.MarginRight : child.MarginBottom);
812
+ ((layout.
vertical
? child.MarginLeft : child.MarginTop)
813
- (layout.
vertical
? child.MarginRight : child.MarginBottom));
820
- ((layout.
vertical
? child.MarginLeft : child.MarginTop)
821
+ (layout.
vertical
? child.MarginRight : child.MarginBottom));
823
align_pos += (layout.
vertical
? child.MarginLeft : child.MarginTop);
826
align_pos += (layout.
vertical
? child.MarginLeft : child.MarginTop);
837
pos -= (layout.
vertical
? child.MarginBottom : child.MarginRight);
841
pos -= (layout.
vertical
? child.MarginTop : child.MarginLeft);
845
pos += (layout.
vertical
? child.MarginTop : child.MarginLeft);
849
pos += (layout.
vertical
? child.MarginBottom : child.MarginRight);
1033
pos2 =
vertical
? item.PaddingLeft : item.PaddingTop;