33 writes to Height
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
482Rows[rowIndex].Height = preferredHeight; // un-sharing the row to be resized
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1736Height = DefaultHeight;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (3)
306_sampleDataGridView.Rows[0].Height = _sampleDataGridView.Height; 309_sampleDataGridViewSelected.Rows[0].Height = _sampleDataGridViewSelected.Height; 332dataGridView.Rows[0].Height = dataGridView.Height;
System.Windows.Forms.Tests (28)
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (10)
20dataGridView.Rows[0].Height = 20; 21dataGridView.Rows[1].Height = 20; 22dataGridView.Rows[2].Height = 20; 23dataGridView.Rows[3].Height = 20; 24dataGridView.Rows[4].Height = 20; 49dataGridView.Rows[0].Height = 20; 50dataGridView.Rows[1].Height = 20; 51dataGridView.Rows[2].Height = 20; 52dataGridView.Rows[3].Height = 20; 53dataGridView.Rows[4].Height = 20;
System\Windows\Forms\DataGridViewCellTests.cs (1)
4874row.Height = 11;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (3)
3176row.Height = 11; 3199row.Height = 11; 3223row.Height = 11;
System\Windows\Forms\DataGridViewRowHeightInfoNeededEventArgsTests.cs (1)
75row.Height = 10;
System\Windows\Forms\DataGridViewRowTests.cs (13)
1915Height = value 1920row.Height = value; 1961row.Height = value; 1966row.Height = value; 1991row.Height = 4; 1996row.Height = 4; 2001row.Height = 3; 2007row.Height = 4; 2017Assert.Throws<ArgumentOutOfRangeException>("value", () => row.Height = value); 2053Assert.Throws<InvalidOperationException>(() => row.Height = -1); 3937Height = 5, 3980Height = 5, 4027source.Height = 5;
33 references to Height
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
487Height = this.RowTemplate.Height * 4 + this.ColumnHeadersHeight + 2;
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
480if (Rows.SharedRow(rowIndex).Height < preferredHeight)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
2727int width = GetPreferredWidth(rowIndex, OwningRow.Height); 2730if (OwningColumn.Width < width || OwningRow.Height < height)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
220throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(Height))); 1817return Height != DefaultHeight;
System.Windows.Forms.Tests (27)
System\Windows\Forms\DataGridViewRowHeightInfoNeededEventArgsTests.cs (2)
33Assert.Equal(expected, row.Height); 56Assert.Equal(Control.DefaultFont.Height + 9, row.Height);
System\Windows\Forms\DataGridViewRowTests.cs (25)
35Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 1794Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 1811Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 1855Assert.Equal(expectedHeight, row.Height); 1860Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 1890Assert.Equal(expectedHeight, row.Height); 1895Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 1917Assert.Equal(expected, row.Height); 1921Assert.Equal(expected, row.Height); 1962Assert.Equal(expected, row.Height); 1967Assert.Equal(expected, row.Height); 1992Assert.Equal(4, row.Height); 1997Assert.Equal(4, row.Height); 2002Assert.Equal(3, row.Height); 2008Assert.Equal(4, row.Height); 2035Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 2385Assert.Equal(expectedHeight, row.Height); 2390Assert.Equal(expectedHeight, row.Height); 2428Assert.Equal(expectedHeight, row.Height); 2434Assert.Equal(expectedHeight, row.Height); 2489Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 3914Assert.Equal(Control.DefaultFont.Height + 9, row.Height); 3954Assert.Equal(5, row.Height); 3997Assert.Equal(5, row.Height); 4046Assert.Equal(5, row.Height);