89 references to RowStyles
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (11)
453settings.RowStyles.Clear(); 486if (TableLayoutSettings.RowStyles.Count is > 1 or 0) 488TableLayoutSettings.RowStyles.Clear(); 489TableLayoutSettings.RowStyles.Add(new RowStyle()); 494TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute; 495TableLayoutSettings.RowStyles[0].Height = Math.Max(0, DisplayRectangle.Height); 512int originalRowCount = TableLayoutSettings.RowStyles.Count; 520TableLayoutSettings.RowStyles.Add(new RowStyle()); 528RowStyle rowStyle = TableLayoutSettings.RowStyles[i]; 548for (int i = DisplayedItems.Count; i < TableLayoutSettings.RowStyles.Count; i++) 550TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
156public TableLayoutRowStyleCollection RowStyles => _tableLayoutSettings.RowStyles;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (2)
113foreach (RowStyle rowStyle in tableLayoutSettings.RowStyles) 240settings.RowStyles.Add(new RowStyle(type, width));
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
113Assert.Same(control.LayoutSettings.RowStyles, control.RowStyles);
System.Windows.Forms.Tests (74)
SerializableTypesTests.cs (4)
316Assert.Equal(2, result.RowStyles.Count); 320Assert.Equal(SizeType.Absolute, result.RowStyles[0].SizeType); 321Assert.Equal(20, result.RowStyles[0].Height); 322Assert.Equal(30, result.RowStyles[1].Height);
System\Windows\Forms\ColumnStyleTests.cs (2)
70control.LayoutSettings.RowStyles.Add(style); 100control.LayoutSettings.RowStyles.Add(style);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (12)
26Assert.Empty(settings.RowStyles); 27Assert.Same(settings.RowStyles, settings.RowStyles); 42Assert.Empty(settings.RowStyles); 43Assert.Same(settings.RowStyles, settings.RowStyles); 1674settings.RowStyles.Add(rowStyle); 1710settings.RowStyles.Add(rowStyle); 1783settings.RowStyles.Add(rowStyle); 1797Assert.Equal(rowStyle.SizeType, ((RowStyle)Assert.Single(result.RowStyles)).SizeType); 1798Assert.Equal(rowStyle.Height, ((RowStyle)Assert.Single(result.RowStyles)).Height); 1853Assert.Empty(result.RowStyles);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (9)
59Assert.Equal(2, settings.RowStyles.Count); 60Assert.Equal(SizeType.AutoSize, settings.RowStyles[0].SizeType); 61Assert.Equal(1, settings.RowStyles[0].Height); 62Assert.Equal(SizeType.Absolute, settings.RowStyles[1].SizeType); 63Assert.Equal(2, settings.RowStyles[1].Height); 106Assert.Empty(settings.RowStyles); 178settings.RowStyles.Add(new RowStyle(SizeType.AutoSize, 1)); 179settings.RowStyles.Add(new RowStyle(SizeType.Absolute, 2)); 271settings.RowStyles.Add(new ColumnStyle());
System\Windows\Forms\RowStyleTests.cs (2)
70control.LayoutSettings.RowStyles.Add(style); 100control.LayoutSettings.RowStyles.Add(style);
System\Windows\Forms\TableLayoutPanelTests.cs (10)
111Assert.Same(control.LayoutSettings.RowStyles, control.RowStyles); 428Assert.Empty(control.LayoutSettings.RowStyles); 436Assert.Empty(control.LayoutSettings.RowStyles); 449settings.RowStyles.Add(rowStyle); 464Assert.Equal(rowStyle, Assert.Single(control.LayoutSettings.RowStyles)); 472Assert.Empty(control.LayoutSettings.RowStyles); 494settings.RowStyles.Add(rowStyle); 519Assert.Equal(rowStyle, Assert.Single(control.LayoutSettings.RowStyles)); 531Assert.Empty(control.LayoutSettings.RowStyles); 547settings.RowStyles.Add(new RowStyle(SizeType.Percent, 1));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
13TableLayoutRowStyleCollection collection = settings.RowStyles; 25TableLayoutRowStyleCollection collection = settings.RowStyles; 37TableLayoutRowStyleCollection collection = settings.RowStyles; 49TableLayoutRowStyleCollection collection = settings.RowStyles; 63TableLayoutRowStyleCollection collection = settings.RowStyles; 73TableLayoutRowStyleCollection collection = settings.RowStyles; 88TableLayoutRowStyleCollection collection = settings.RowStyles; 101TableLayoutRowStyleCollection collection = settings.RowStyles;
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
15IList collection = settings.RowStyles; 28TableLayoutStyleCollection collection = settings.RowStyles; 40IList collection = settings.RowStyles; 52TableLayoutStyleCollection collection = settings.RowStyles; 62IList collection = settings.RowStyles; 71TableLayoutStyleCollection collection = settings.RowStyles; 83IList collection = settings.RowStyles; 97TableLayoutStyleCollection collection = settings.RowStyles; 106IList collection = settings.RowStyles; 115TableLayoutStyleCollection collection = settings.RowStyles; 126TableLayoutStyleCollection collection = settings.RowStyles; 140IList collection = settings.RowStyles; 156TableLayoutStyleCollection collection = settings.RowStyles; 167IList collection = settings.RowStyles; 177TableLayoutStyleCollection collection = settings.RowStyles; 189IList collection = settings.RowStyles; 204IList collection = settings.RowStyles; 216IList collection = settings.RowStyles; 225TableLayoutStyleCollection collection = settings.RowStyles; 240TableLayoutStyleCollection collection = settings.RowStyles; 258IList collection = settings.RowStyles; 272IList collection = settings.RowStyles; 286IList collection = settings.RowStyles;
System\Windows\Forms\TableLayoutStyleTests.cs (2)
45control.LayoutSettings.RowStyles.Add(style); 77control.LayoutSettings.RowStyles.Add(style);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3022Assert.Empty(settings.RowStyles);
System\Windows\Forms\ToolStripTests.cs (1)
4340Assert.Empty(settings.RowStyles);