3 instantiations of TableLayoutSettings
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1774ToolStripLayoutStyle.Table => new TableLayoutSettings(this),
System\Windows\Forms\Layout\TableLayout.cs (1)
60return new TableLayoutSettings(owner);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
52TableLayoutSettings settings = new();
300 references to TableLayoutSettings
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
237private TableLayoutSettings TableLayoutSettings 239get { return (TableLayoutSettings)LayoutSettings!; } 449TableLayoutSettings settings = TableLayoutSettings;
System\Windows\Forms\Layout\TableLayout.cs (1)
58internal static TableLayoutSettings CreateSettings(IArrangedElement owner)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
24private readonly TableLayoutSettings _tableLayoutSettings; 37public TableLayoutSettings LayoutSettings
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (3)
51if (converter.ConvertFromInvariantString(stringVal) is TableLayoutSettings tls) 215internal void ApplySettings(TableLayoutSettings settings) 477TypeDescriptor.RegisterType<TableLayoutSettings>();
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
29internal void ApplySettings(TableLayoutSettings settings)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (5)
52TableLayoutSettings settings = new(); 65if (value is TableLayoutSettings tableLayoutSettings && (destinationType == typeof(string))) 74foreach (TableLayoutSettings.ControlInformation c in tableLayoutSettings.GetControlsInformation()) 149private static void ParseControls(TableLayoutSettings settings, XmlNodeList controlXmlFragments) 170private static void ParseStyles(TableLayoutSettings settings, XmlNodeList controlXmlFragments, bool columns)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyle.cs (1)
9[TypeConverter(typeof(TableLayoutSettings.StyleConverter))]
System.Windows.Forms.Tests (284)
SerializableAttributeTests.cs (1)
28{ typeof(TableLayoutSettings).FullName },
SerializableTypesTests.cs (3)
9using static System.Windows.Forms.TableLayoutSettings; 304TableLayoutSettings result = BinarySerialization.EnsureDeserialize<TableLayoutSettings>(blob);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (163)
18TableLayoutSettings settings = control.LayoutSettings; 34TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 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; 170TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 178TableLayoutSettings settings = control.LayoutSettings; 186TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 194TableLayoutSettings settings = control.LayoutSettings; 202TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 211TableLayoutSettings settings = control.LayoutSettings; 221TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 231TableLayoutSettings settings = control.LayoutSettings; 241TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 250TableLayoutSettings settings = control.LayoutSettings; 260TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 268TableLayoutSettings settings = control.LayoutSettings; 276TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 284TableLayoutSettings settings = control.LayoutSettings; 292TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 301TableLayoutSettings settings = control.LayoutSettings; 310TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 319TableLayoutSettings settings = control.LayoutSettings; 327TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 335TableLayoutSettings settings = control.LayoutSettings; 343TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 351TableLayoutSettings settings = control.LayoutSettings; 361TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 369TableLayoutSettings settings = control.LayoutSettings; 377TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 385TableLayoutSettings settings = control.LayoutSettings; 393TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 402TableLayoutSettings settings = control.LayoutSettings; 411TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 419TableLayoutSettings settings = control.LayoutSettings; 427TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 435TableLayoutSettings settings = control.LayoutSettings; 443TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 462TableLayoutSettings settings = control.LayoutSettings; 503TableLayoutSettings settings = control.LayoutSettings; 552TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 578TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 619TableLayoutSettings settings = control.LayoutSettings; 633TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 647TableLayoutSettings settings = control.LayoutSettings; 655TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 663TableLayoutSettings settings = control.LayoutSettings; 671TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 686TableLayoutSettings settings = control.LayoutSettings; 722TableLayoutSettings settings = control.LayoutSettings; 775TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 805TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 839TableLayoutSettings settings = control.LayoutSettings; 853TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 869TableLayoutSettings settings = control.LayoutSettings; 879TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 887TableLayoutSettings settings = control.LayoutSettings; 895TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 904TableLayoutSettings settings = control.LayoutSettings; 912TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 924TableLayoutSettings settings = control.LayoutSettings; 957TableLayoutSettings settings = control.LayoutSettings; 1008TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1036TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1070TableLayoutSettings settings = control.LayoutSettings; 1084TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1100TableLayoutSettings settings = control.LayoutSettings; 1110TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1119TableLayoutSettings settings = control.LayoutSettings; 1127TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1138TableLayoutSettings settings = control.LayoutSettings; 1148TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1162TableLayoutSettings settings = control.LayoutSettings; 1198TableLayoutSettings settings = control.LayoutSettings; 1251TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1281TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1315TableLayoutSettings settings = control.LayoutSettings; 1329TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1345TableLayoutSettings settings = control.LayoutSettings; 1355TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1363TableLayoutSettings settings = control.LayoutSettings; 1371TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1380TableLayoutSettings settings = control.LayoutSettings; 1388TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1400TableLayoutSettings settings = control.LayoutSettings; 1433TableLayoutSettings settings = control.LayoutSettings; 1484TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1512TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1546TableLayoutSettings settings = control.LayoutSettings; 1560TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1576TableLayoutSettings settings = control.LayoutSettings; 1586TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1594TableLayoutSettings settings = control.LayoutSettings; 1602TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1613TableLayoutSettings settings = control.LayoutSettings; 1623TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1631TableLayoutSettings settings = control.LayoutSettings; 1644TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1657TableLayoutSettings settings = control.LayoutSettings; 1696TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 1728TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(control.LayoutSettings); 1757TableLayoutSettings settings = control.LayoutSettings; 1773TableLayoutSettings settings = control.LayoutSettings; 1793TableLayoutSettings result = Assert.IsType<TableLayoutSettings>(formatter.Deserialize(stream)); // CodeQL [SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter because the data is trusted and the types are controlled and validated. 1813TableLayoutSettings settings = control.LayoutSettings; 1835TableLayoutSettings settings = control.LayoutSettings; 1846TableLayoutSettings result = Assert.IsType<TableLayoutSettings>(formatter.Deserialize(stream)); // CodeQL [SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter because the data is trusted and the types are controlled and validated.
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (25)
19[InlineData(typeof(TableLayoutSettings), false)] 31TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom( 104TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(value)); 150[InlineData(typeof(TableLayoutSettings), false)] 163TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 175TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 197TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(panel.LayoutSettings); 214TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 223TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 237var settings = Assert.IsType<TableLayoutSettings>(control.LayoutSettings); 249TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 259TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 270TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 293[InlineData(typeof(TableLayoutSettings))]
System\Windows\Forms\StatusStripTests.cs (1)
103Assert.IsType<TableLayoutSettings>(control.LayoutSettings);
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (16)
12TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 24TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 36TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 48TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 62TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 72TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 87TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 100TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings);
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
102[InlineData(typeof(TableLayoutSettings), false)]
System\Windows\Forms\TableLayoutPanelTests.cs (8)
413TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 445TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 481TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />")); 545TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(converter.ConvertFrom(@"<?xml version=""1.0"" encoding=""utf-16""?><Root />"));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (16)
12TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 24TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 36TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 48TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 62TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 72TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 87TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 100TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings);
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (46)
14TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 27TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 39TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 51TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 61TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 70TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 82TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 96TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 105TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 114TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 125TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 139TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 155TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 166TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 176TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 188TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 203TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 215TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 224TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 239TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 257TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 271TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings); 285TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.LayoutSettings);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
3015TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.CreateLayoutSettings(ToolStripLayoutStyle.Table));
System\Windows\Forms\ToolStripTests.cs (2)
4333TableLayoutSettings settings = Assert.IsType<TableLayoutSettings>(toolStrip.CreateLayoutSettings(ToolStripLayoutStyle.Table));