30 references to TableLayoutSettings
System.Windows.Forms (30)
winforms\Managed\System\WinForms\StatusStrip.cs (30)
452TableLayoutSettings settings = this.TableLayoutSettings; 465TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddColumns; 467int originalColumnCount = this.TableLayoutSettings.ColumnStyles.Count; 473this.TableLayoutSettings.ColumnStyles.Add(new ColumnStyle()); 482ColumnStyle colStyle = this.TableLayoutSettings.ColumnStyles[i]; 487if (TableLayoutSettings.RowStyles.Count > 1 || TableLayoutSettings.RowStyles.Count == 0) { 488TableLayoutSettings.RowStyles.Clear(); 489TableLayoutSettings.RowStyles.Add(new RowStyle()); 491TableLayoutSettings.RowCount = 1; 493TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute; 494TableLayoutSettings.RowStyles[0].Height = Math.Max(0,this.DisplayRectangle.Height); 495TableLayoutSettings.ColumnCount = DisplayedItems.Count+1; // add an extra cell so it fills the remaining space 498for (int i = DisplayedItems.Count; i < TableLayoutSettings.ColumnStyles.Count; i++) { 499this.TableLayoutSettings.ColumnStyles[i].SizeType = SizeType.AutoSize; 507TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddRows; 509int originalRowCount = this.TableLayoutSettings.RowStyles.Count; 515this.TableLayoutSettings.RowStyles.Add(new RowStyle()); 524RowStyle rowStyle = this.TableLayoutSettings.RowStyles[i]; 528TableLayoutSettings.ColumnCount = 1; 530if (TableLayoutSettings.ColumnStyles.Count > 1 || TableLayoutSettings.ColumnStyles.Count == 0) { 531TableLayoutSettings.ColumnStyles.Clear(); 532TableLayoutSettings.ColumnStyles.Add(new ColumnStyle()); 535TableLayoutSettings.ColumnCount = 1; 536TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.Absolute; 537TableLayoutSettings.ColumnStyles[0].Width = Math.Max(0,this.DisplayRectangle.Width); 539TableLayoutSettings.RowCount = DisplayedItems.Count+1; // add an extra cell so it fills the remaining space 542for (int i = DisplayedItems.Count; i < TableLayoutSettings.RowStyles.Count; i++) { 543this.TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;