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