2 instantiations of LayoutInfo
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.cs (1)
1354
layoutInfo = new
LayoutInfo
(element);
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
47
public LayoutInfo Clone() =>
new
(Element)
68 references to LayoutInfo
System.Windows.Forms (68)
System\Windows\Forms\Layout\TableLayout.ColumnSpanComparer.cs (1)
10
public override int GetSpan(
LayoutInfo
layoutInfo) => layoutInfo.ColumnSpan;
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (10)
36
private
LayoutInfo
[]? _childInfo;
225
public
LayoutInfo
[] ChildrenInfo
237
LayoutInfo
[] childInfo = new
LayoutInfo
[children.Count];
251
LayoutInfo
layoutInfo = GetLayoutInfo(element);
269
LayoutInfo
[] trimmedChildInfo = new
LayoutInfo
[childInfo.Length - nonParticipatingElements];
290
public
LayoutInfo
[] FixedChildrenInfo
296
LayoutInfo
[] fixedChildren = new
LayoutInfo
[_countFixedChildren];
System\Windows\Forms\Layout\TableLayout.cs (34)
23
private static void Sort(
LayoutInfo
[] array, IComparer<
LayoutInfo
> comparer)
248
LayoutInfo
[] childrenInfo = containerInfo.ChildrenInfo;
318
private static bool xAssignRowsAndColumns(ContainerInfo containerInfo,
LayoutInfo
[] childrenInfo, int maxColumns, int maxRows, TableLayoutPanelGrowStyle growStyle)
334
LayoutInfo
[] fixedChildrenInfo = containerInfo.FixedChildrenInfo;
337
LayoutInfo
? fixedElement = GetNextLayoutInfo(fixedChildrenInfo, ref fixedElementIndex, absolutelyPositioned: true);
340
LayoutInfo
? flowElement = GetNextLayoutInfo(childrenInfo, ref flowElementIndex, absolutelyPositioned: false);
491
private static
LayoutInfo
? GetNextLayoutInfo(
LayoutInfo
[] layoutInfo, ref int index, bool absolutelyPositioned)
510
private static bool IsCursorPastInsertionPoint(
LayoutInfo
fixedLayoutInfo, int insertionRow, int insertionCol)
534
private static bool IsOverlappingWithReservationGrid(
LayoutInfo
fixedLayoutInfo, ReservationGrid reservationGrid, int currentRow)
563
private static void AdvanceUntilFits(int maxColumns, ReservationGrid reservationGrid,
LayoutInfo
layoutInfo, out int colStop)
576
private static void GetColStartAndStop(int maxColumns,
LayoutInfo
layoutInfo, out int colStop)
595
private static bool ScanRowForOverlap(int maxColumns, ReservationGrid reservationGrid,
LayoutInfo
layoutInfo, int stopCol, int rowOffset)
630
foreach (
LayoutInfo
layoutInfo in containerInfo.ChildrenInfo)
679
LayoutInfo
[] sortedChildren = containerInfo.ChildrenInfo;
709
foreach (
LayoutInfo
layoutInfo in sortedChildren)
805
LayoutInfo
[] sortedChildren = containerInfo.ChildrenInfo;
837
foreach (
LayoutInfo
layoutInfo in sortedChildren)
1187
LayoutInfo
[] childrenInfo = containerInfo.ChildrenInfo;
1196
LayoutInfo
layoutInfo = childrenInfo[i];
1312
LayoutInfo
layoutInfo = GetLayoutInfo(children[i]);
1346
LayoutInfo
layoutInfo = GetLayoutInfo(child);
1350
internal static
LayoutInfo
GetLayoutInfo(IArrangedElement element)
1352
if (!element.Properties.TryGetValue(s_layoutInfoProperty, out
LayoutInfo
? layoutInfo))
1361
internal static void SetLayoutInfo(IArrangedElement element,
LayoutInfo
value)
1392
Dictionary<IArrangedElement,
LayoutInfo
> oldLayoutInfo = [];
1394
List<
LayoutInfo
> childrenInfo = new(children.Count);
1408
LayoutInfo
layoutInfo = GetLayoutInfo(element);
1418
foreach (
LayoutInfo
layoutInfo in childrenInfo)
1433
foreach (
LayoutInfo
layoutInfo in childrenInfo)
1455
List<
LayoutInfo
> layoutInfos = new(container.Children.Count);
1472
LayoutInfo
layoutInfo1 = layoutInfos[i];
1478
LayoutInfo
layoutInfo2 = layoutInfos[j];
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (2)
47
public
LayoutInfo
Clone() => new(Element)
58
obj is
LayoutInfo
other
System\Windows\Forms\Layout\TableLayout.PostAssignedPositionComparer.cs (3)
8
private class PostAssignedPositionComparer : IComparer<
LayoutInfo
>
12
public int Compare(
LayoutInfo
? x,
LayoutInfo
? y)
System\Windows\Forms\Layout\TableLayout.PreAssignedPositionComparer.cs (3)
8
private class PreAssignedPositionComparer : IComparer<
LayoutInfo
>
12
public int Compare(
LayoutInfo
? x,
LayoutInfo
? y)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (1)
54
public void ReserveAll(
LayoutInfo
layoutInfo, int rowStop, int colStop)
System\Windows\Forms\Layout\TableLayout.RowSpanComparer.cs (1)
10
public override int GetSpan(
LayoutInfo
layoutInfo) => layoutInfo.RowSpan;
System\Windows\Forms\Layout\TableLayout.SorterObjectArray.cs (6)
11
private readonly
LayoutInfo
[] _keys;
12
private readonly IComparer<
LayoutInfo
> _comparer;
14
internal SorterObjectArray(
LayoutInfo
[] keys, IComparer<
LayoutInfo
> comparer)
16
comparer ??= Comparer<
LayoutInfo
>.Default;
60
LayoutInfo
x = _keys[middle];
System\Windows\Forms\Layout\TableLayout.SpanComparer.cs (4)
8
private abstract class SpanComparer : IComparer<
LayoutInfo
>
10
public abstract int GetSpan(
LayoutInfo
layoutInfo);
12
public int Compare(
LayoutInfo
? x,
LayoutInfo
? y)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (3)
327
TableLayout.
LayoutInfo
layoutInfo = TableLayout.GetLayoutInfo(element);
388
TableLayout.
LayoutInfo
layoutInfo = TableLayout.GetLayoutInfo(element);
435
TableLayout.
LayoutInfo
layoutInfo = TableLayout.GetLayoutInfo(element);