28 references to TableLayoutSettings
System.Windows.Forms (28)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (28)
449TableLayoutSettings settings = TableLayoutSettings; 463TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddColumns; 465int originalColumnCount = TableLayoutSettings.ColumnStyles.Count; 473TableLayoutSettings.ColumnStyles.Add(new ColumnStyle()); 481ColumnStyle colStyle = TableLayoutSettings.ColumnStyles[i]; 486if (TableLayoutSettings.RowStyles.Count is > 1 or 0) 488TableLayoutSettings.RowStyles.Clear(); 489TableLayoutSettings.RowStyles.Add(new RowStyle()); 492TableLayoutSettings.RowCount = 1; 494TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute; 495TableLayoutSettings.RowStyles[0].Height = Math.Max(0, DisplayRectangle.Height); 496TableLayoutSettings.ColumnCount = DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space 499for (int i = DisplayedItems.Count; i < TableLayoutSettings.ColumnStyles.Count; i++) 501TableLayoutSettings.ColumnStyles[i].SizeType = SizeType.AutoSize; 510TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddRows; 512int originalRowCount = TableLayoutSettings.RowStyles.Count; 520TableLayoutSettings.RowStyles.Add(new RowStyle()); 528RowStyle rowStyle = TableLayoutSettings.RowStyles[i]; 533TableLayoutSettings.ColumnCount = 1; 535if (TableLayoutSettings.ColumnStyles.Count is > 1 or 0) 537TableLayoutSettings.ColumnStyles.Clear(); 538TableLayoutSettings.ColumnStyles.Add(new ColumnStyle()); 541TableLayoutSettings.ColumnCount = 1; 542TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.Absolute; 543TableLayoutSettings.ColumnStyles[0].Width = Math.Max(0, DisplayRectangle.Width); 545TableLayoutSettings.RowCount = DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space 548for (int i = DisplayedItems.Count; i < TableLayoutSettings.RowStyles.Count; i++) 550TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;