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