10 writes to LayoutSettings
System.Windows.Forms.Tests (10)
System\Windows\Forms\TableLayoutPanelTests.cs (10)
425
control.
LayoutSettings
= settings;
433
control.
LayoutSettings
= settings;
461
control.
LayoutSettings
= settings;
469
control.
LayoutSettings
= settings;
516
control.
LayoutSettings
= settings;
528
control.
LayoutSettings
= settings;
559
control.
LayoutSettings
= settings;
567
control.
LayoutSettings
= settings;
579
Assert.Throws<NotSupportedException>(() => control.
LayoutSettings
= null);
588
Assert.Throws<NotSupportedException>(() => control.
LayoutSettings
= otherControl.LayoutSettings);
103 references to LayoutSettings
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\ByteViewerTests.cs (5)
49
Assert.Same(control.
LayoutSettings
.ColumnStyles, control.ColumnStyles);
93
Assert.NotNull(control.
LayoutSettings
);
94
Assert.Same(control.
LayoutSettings
, control.
LayoutSettings
);
113
Assert.Same(control.
LayoutSettings
.RowStyles, control.RowStyles);
System.Windows.Forms.Tests (98)
SerializableTypesTests.cs (1)
294
netBlob = BinarySerialization.ToBase64String(tableLayoutPanel.
LayoutSettings
);
System\Windows\Forms\ColumnStyleTests.cs (2)
70
control.
LayoutSettings
.RowStyles.Add(style);
100
control.
LayoutSettings
.RowStyles.Add(style);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (59)
18
TableLayoutSettings settings = control.
LayoutSettings
;
52
TableLayoutSettings settings = control.
LayoutSettings
;
78
TableLayoutSettings settings = control.
LayoutSettings
;
89
TableLayoutSettings settings = control.
LayoutSettings
;
116
TableLayoutSettings settings = control.
LayoutSettings
;
126
TableLayoutSettings settings = control.
LayoutSettings
;
152
TableLayoutSettings settings = control.
LayoutSettings
;
161
TableLayoutSettings settings = control.
LayoutSettings
;
178
TableLayoutSettings settings = control.
LayoutSettings
;
194
TableLayoutSettings settings = control.
LayoutSettings
;
211
TableLayoutSettings settings = control.
LayoutSettings
;
231
TableLayoutSettings settings = control.
LayoutSettings
;
250
TableLayoutSettings settings = control.
LayoutSettings
;
268
TableLayoutSettings settings = control.
LayoutSettings
;
284
TableLayoutSettings settings = control.
LayoutSettings
;
301
TableLayoutSettings settings = control.
LayoutSettings
;
319
TableLayoutSettings settings = control.
LayoutSettings
;
335
TableLayoutSettings settings = control.
LayoutSettings
;
351
TableLayoutSettings settings = control.
LayoutSettings
;
369
TableLayoutSettings settings = control.
LayoutSettings
;
385
TableLayoutSettings settings = control.
LayoutSettings
;
402
TableLayoutSettings settings = control.
LayoutSettings
;
419
TableLayoutSettings settings = control.
LayoutSettings
;
435
TableLayoutSettings settings = control.
LayoutSettings
;
462
TableLayoutSettings settings = control.
LayoutSettings
;
503
TableLayoutSettings settings = control.
LayoutSettings
;
619
TableLayoutSettings settings = control.
LayoutSettings
;
647
TableLayoutSettings settings = control.
LayoutSettings
;
663
TableLayoutSettings settings = control.
LayoutSettings
;
686
TableLayoutSettings settings = control.
LayoutSettings
;
722
TableLayoutSettings settings = control.
LayoutSettings
;
839
TableLayoutSettings settings = control.
LayoutSettings
;
869
TableLayoutSettings settings = control.
LayoutSettings
;
887
TableLayoutSettings settings = control.
LayoutSettings
;
904
TableLayoutSettings settings = control.
LayoutSettings
;
924
TableLayoutSettings settings = control.
LayoutSettings
;
957
TableLayoutSettings settings = control.
LayoutSettings
;
1070
TableLayoutSettings settings = control.
LayoutSettings
;
1100
TableLayoutSettings settings = control.
LayoutSettings
;
1119
TableLayoutSettings settings = control.
LayoutSettings
;
1138
TableLayoutSettings settings = control.
LayoutSettings
;
1162
TableLayoutSettings settings = control.
LayoutSettings
;
1198
TableLayoutSettings settings = control.
LayoutSettings
;
1315
TableLayoutSettings settings = control.
LayoutSettings
;
1345
TableLayoutSettings settings = control.
LayoutSettings
;
1363
TableLayoutSettings settings = control.
LayoutSettings
;
1380
TableLayoutSettings settings = control.
LayoutSettings
;
1400
TableLayoutSettings settings = control.
LayoutSettings
;
1433
TableLayoutSettings settings = control.
LayoutSettings
;
1546
TableLayoutSettings settings = control.
LayoutSettings
;
1576
TableLayoutSettings settings = control.
LayoutSettings
;
1594
TableLayoutSettings settings = control.
LayoutSettings
;
1613
TableLayoutSettings settings = control.
LayoutSettings
;
1631
TableLayoutSettings settings = control.
LayoutSettings
;
1657
TableLayoutSettings settings = control.
LayoutSettings
;
1757
TableLayoutSettings settings = control.
LayoutSettings
;
1773
TableLayoutSettings settings = control.
LayoutSettings
;
1813
TableLayoutSettings settings = control.
LayoutSettings
;
1835
TableLayoutSettings settings = control.
LayoutSettings
;
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
197
TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(panel.
LayoutSettings
);
237
var settings = Assert.IsType<TableLayoutSettings>(control.
LayoutSettings
);
System\Windows\Forms\RowStyleTests.cs (2)
70
control.
LayoutSettings
.RowStyles.Add(style);
100
control.
LayoutSettings
.RowStyles.Add(style);
System\Windows\Forms\TableLayoutPanelTests.cs (30)
49
Assert.Same(control.
LayoutSettings
.ColumnStyles, control.ColumnStyles);
93
Assert.NotNull(control.
LayoutSettings
);
94
Assert.Same(control.
LayoutSettings
, control.
LayoutSettings
);
111
Assert.Same(control.
LayoutSettings
.RowStyles, control.RowStyles);
426
Assert.NotSame(settings, control.
LayoutSettings
);
427
Assert.Empty(control.
LayoutSettings
.ColumnStyles);
428
Assert.Empty(control.
LayoutSettings
.RowStyles);
434
Assert.NotSame(settings, control.
LayoutSettings
);
435
Assert.Empty(control.
LayoutSettings
.ColumnStyles);
436
Assert.Empty(control.
LayoutSettings
.RowStyles);
462
Assert.NotSame(settings, control.
LayoutSettings
);
463
Assert.Equal(columnStyle, Assert.Single(control.
LayoutSettings
.ColumnStyles));
464
Assert.Equal(rowStyle, Assert.Single(control.
LayoutSettings
.RowStyles));
470
Assert.NotSame(settings, control.
LayoutSettings
);
471
Assert.Empty(control.
LayoutSettings
.ColumnStyles);
472
Assert.Empty(control.
LayoutSettings
.RowStyles);
517
Assert.NotSame(settings, control.
LayoutSettings
);
518
Assert.Equal(columnStyle, Assert.Single(control.
LayoutSettings
.ColumnStyles));
519
Assert.Equal(rowStyle, Assert.Single(control.
LayoutSettings
.RowStyles));
520
Assert.Equal(1, control.
LayoutSettings
.GetColumnSpan(controlWithName));
521
Assert.Equal(2, control.
LayoutSettings
.GetRowSpan(controlWithName));
522
Assert.Equal(3, control.
LayoutSettings
.GetColumn(controlWithName));
523
Assert.Equal(4, control.
LayoutSettings
.GetRow(controlWithName));
529
Assert.NotSame(settings, control.
LayoutSettings
);
530
Assert.Empty(control.
LayoutSettings
.ColumnStyles);
531
Assert.Empty(control.
LayoutSettings
.RowStyles);
560
Assert.NotSame(settings, control.
LayoutSettings
);
568
Assert.NotSame(settings, control.
LayoutSettings
);
588
Assert.Throws<NotSupportedException>(() => control.LayoutSettings = otherControl.
LayoutSettings
);
System\Windows\Forms\TableLayoutStyleTests.cs (2)
45
control.
LayoutSettings
.RowStyles.Add(style);
77
control.
LayoutSettings
.RowStyles.Add(style);