56 writes to ColumnHeadersHeightSizeMode
Accessibility_Core_App (3)
DataBindingExample.Designer.cs (1)
67this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
DataControls.Designer.cs (2)
266this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 339this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
236this.rightsTable.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
146Control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
System.Windows.Forms.Tests (49)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
932ColumnHeadersHeightSizeMode = columnHeadersHeightSizeMode, 956ColumnHeadersHeightSizeMode = columnHeadersHeightSizeMode, 998ColumnHeadersHeightSizeMode = columnHeadersHeightSizeMode, 1038ColumnHeadersHeightSizeMode = columnHeadersHeightSizeMode, 2704ColumnHeadersHeightSizeMode = columnHeadersHeightSizeMode,
System\Windows\Forms\DataGridViewTests.cs (43)
67ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 116ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 192ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 258ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 314ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 353ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 391ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 441ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 512ColumnHeadersHeightSizeMode = value 519control.ColumnHeadersHeightSizeMode = value; 554control.ColumnHeadersHeightSizeMode = value; 562control.ColumnHeadersHeightSizeMode = value; 579ColumnHeadersHeightSizeMode = originalColumnHeadersHeightSizeMode, 590control.ColumnHeadersHeightSizeMode = value; 599control.ColumnHeadersHeightSizeMode = originalColumnHeadersHeightSizeMode; 624control.ColumnHeadersHeightSizeMode = value; 629control.ColumnHeadersHeightSizeMode = value; 635control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing; 641control.ColumnHeadersHeightSizeMode = value; 658control.ColumnHeadersHeightSizeMode = value; 663control.ColumnHeadersHeightSizeMode = value; 668control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing; 674control.ColumnHeadersHeightSizeMode = value; 699control.ColumnHeadersHeightSizeMode = value; 704control.ColumnHeadersHeightSizeMode = value; 709control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing; 715control.ColumnHeadersHeightSizeMode = value; 753control.ColumnHeadersHeightSizeMode = value; 758control.ColumnHeadersHeightSizeMode = value; 763control.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing; 769control.ColumnHeadersHeightSizeMode = value; 784Assert.Throws<InvalidEnumArgumentException>("value", () => control.ColumnHeadersHeightSizeMode = value); 1931ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 1963ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 2003ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 2029ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 2069ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode, 2115ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 2156ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 2197ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 2209ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 2236ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode 2275ColumnHeadersHeightSizeMode = columnHeadersWidthSizeMode
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
137ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize,
WinFormsControlsTest (2)
DataGridViewInVirtualModeTest.Designer.cs (1)
47this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
DataGridViewTest.Designer.cs (1)
64this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
58 references to ColumnHeadersHeightSizeMode
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
1576if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 1596ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (29)
9329if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing) 9406if (/*!this.RowHeadersVisible &&*/ ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing) 9460if (ColumnHeadersVisible && ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing) 9600if (ColumnHeadersVisible && ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing) 9614&& ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing) 10558if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 10572if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 10670bool fixedColumnHeadersHeight = ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize; 11214if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 11295if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 13555if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 13598if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 13617if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 13926bool fixedColumnHeadersHeight = ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize; 14076if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 14092if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 14272if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 14288if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 15135fixedColumnHeadersHeight: ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize, 15139if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 15156&& (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize || _autoSizeRowsMode != DataGridViewAutoSizeRowsMode.None)) 15162if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 16981bool fixedColumnHeadersHeight = ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize; 17806if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 17823if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize && !fixedRowHeadersWidth) 17861bool fixedColumnHeadersHeight = rowIndex != -1 || ColumnHeadersHeightSizeMode != DataGridViewColumnHeadersHeightSizeMode.AutoSize; 18511if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize) 18529if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize && !fixedRowHeadersWidth) 19719if (ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize)
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (4)
139(DataGridView is not null && DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing); 143return DataGridView is not null && (DataGridView.RowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.EnableResizing || DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing); 266(DataGridView is not null && DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing)) 286if (DataGridView.RowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.EnableResizing || DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
System.Windows.Forms.Tests (23)
System\Windows\Forms\DataGridViewTests.cs (23)
32Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.ColumnHeadersHeightSizeMode); 514Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 520Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 555Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 563Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 591Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 600Assert.Equal(originalColumnHeadersHeightSizeMode, control.ColumnHeadersHeightSizeMode); 625Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 630Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 636Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.ColumnHeadersHeightSizeMode); 642Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 659Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 664Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 669Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.ColumnHeadersHeightSizeMode); 675Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 700Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 705Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 710Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.ColumnHeadersHeightSizeMode); 716Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 754Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 759Assert.Equal(value, control.ColumnHeadersHeightSizeMode); 764Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.ColumnHeadersHeightSizeMode); 770Assert.Equal(value, control.ColumnHeadersHeightSizeMode);