47 references to Frame
Microsoft.Maui (39)
Layouts\Flex.cs (39)
473
child.
Frame
[2] = absolute_size(child.Width, child.Left, child.Right, width);
474
child.
Frame
[3] = absolute_size(child.Height, child.Top, child.Bottom, height);
475
child.
Frame
[0] = absolute_pos(child.Left, child.Right, child.
Frame
[2], width);
476
child.
Frame
[1] = absolute_pos(child.Top, child.Bottom, child.
Frame
[3], height);
479
layout_item(child, child.
Frame
[2], child.
Frame
[3], inMeasureMode);
484
child.
Frame
[0] = 0;
485
child.
Frame
[1] = 0;
486
child.
Frame
[2] = child.Width;
487
child.
Frame
[3] = child.Height;
490
if (float.IsNaN(child.
Frame
[layout.frame_size_i]))
491
child.
Frame
[layout.frame_size_i] = 0;
495
if (float.IsNaN(child.
Frame
[layout.frame_size2_i]))
500
child.
Frame
[layout.frame_size2_i] = (layout.vertical ? width : height) - child.MarginThickness(!layout.vertical);
508
float[] size = { child.
Frame
[2], child.
Frame
[3] };
519
child.
Frame
[size_off] = val;
533
child.
Frame
[layout.frame_size_i] = basis - child.MarginThickness(layout.vertical);
536
float child_size = child.
Frame
[layout.frame_size_i];
550
float child_size2 = child.
Frame
[layout.frame_size2_i];
623
if (float.IsNaN(child.
Frame
[layout.frame_size2_i]))
627
child.
Frame
[layout.frame_size2_i] = line.size
631
child.
Frame
[layout.frame_pos2_i] = pos + (child.
Frame
[layout.frame_pos2_i] - old_pos);
787
child.
Frame
[layout.frame_size_i] = 0; // Ignore previous size when growing.
798
child.
Frame
[layout.frame_size_i] += flex_size;
802
float align_size = child.
Frame
[layout.frame_size2_i];
819
child.
Frame
[layout.frame_size2_i] = layout.line_dim
832
child.
Frame
[layout.frame_pos2_i] = align_pos;
838
pos -= child.
Frame
[layout.frame_size_i];
839
child.
Frame
[layout.frame_pos_i] = pos;
846
child.
Frame
[layout.frame_pos_i] = pos;
847
pos += child.
Frame
[layout.frame_size_i];
853
layout_item(child, child.
Frame
[2], child.
Frame
[3], inMeasureMode);
892
child.
Frame
[layout.frame_pos_i] = child.
Frame
[layout.frame_pos_i] - pos;
Microsoft.Maui.Controls (8)
Layout\FlexExtensions.cs (4)
11
return new Rect(item.
Frame
[0], item.
Frame
[1], item.
Frame
[2], item.
Frame
[3]);
LegacyLayouts\FlexLayout.cs (4)
464
widthConstraint = Math.Max(widthConstraint, item.
Frame
[0] + item.
Frame
[2] + item.MarginRight);
470
heightConstraint = Math.Max(heightConstraint, item.
Frame
[1] + item.
Frame
[3] + item.MarginBottom);