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