2 instantiations of ContainerInfo
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.cs (2)
155ContainerInfo tempInfo = new(containerInfo); 1379containerInfo = container.Properties.AddValue(s_containerInfoProperty, new ContainerInfo(container));
34 references to ContainerInfo
System.Windows.Forms (34)
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (1)
50public ContainerInfo(ContainerInfo containerInfo)
System\Windows\Forms\Layout\TableLayout.cs (20)
65ContainerInfo containerInfo = GetContainerInfo(container); 99ContainerInfo containerInfo = GetContainerInfo(container); 137ContainerInfo containerInfo = GetContainerInfo(container); 155ContainerInfo tempInfo = new(containerInfo); 208private static void EnsureRowAndColumnAssignments(IArrangedElement container, ContainerInfo containerInfo, bool doNotCache) 222private static void ExpandLastElement(ContainerInfo containerInfo, Size usedSpace, Size totalSpace) 241private static void AssignRowsAndColumns(ContainerInfo containerInfo) 318private static bool xAssignRowsAndColumns(ContainerInfo containerInfo, LayoutInfo[] childrenInfo, int maxColumns, int maxRows, TableLayoutPanelGrowStyle growStyle) 617private static Size ApplyStyles(ContainerInfo containerInfo, Size proposedConstraints, bool measureOnly) 675private static int InflateColumns(ContainerInfo containerInfo, Size proposedConstraints, bool measureOnly) 801private static int InflateRows(ContainerInfo containerInfo, Size proposedConstraints, int expandLastElementWidth, bool measureOnly) 1173private static void SetElementBounds(ContainerInfo containerInfo, RectangleF displayRectF) 1296ContainerInfo containerInfo = GetContainerInfo(container); 1332ContainerInfo containerInfo = GetContainerInfo(container); 1368internal static bool HasCachedAssignments(ContainerInfo containerInfo) => containerInfo.Valid; 1370internal static void ClearCachedAssignments(ContainerInfo containerInfo) => containerInfo.Valid = false; 1375internal static ContainerInfo GetContainerInfo(IArrangedElement container) 1377if (!container.Properties.TryGetValue(s_containerInfoProperty, out ContainerInfo? containerInfo)) 1389private static void Debug_VerifyAssignmentsAreCurrent(IArrangedElement container, ContainerInfo containerInfo) 1456ContainerInfo containerInfo = GetContainerInfo(container);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (4)
265TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(this); 287TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(this); 337TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(this); 502TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(this);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (8)
75TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 97TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 104TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 123TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 130TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 150TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 169TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!); 192TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(Owner!);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
32TableLayout.ContainerInfo containerInfo = TableLayout.GetContainerInfo(settings.Owner!);