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