56 writes to ColumnHeadersHeightSizeMode
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)
145
Control.
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.AutoSize;
System.Windows.Forms.Tests (49)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
934
ColumnHeadersHeightSizeMode
= columnHeadersHeightSizeMode,
958
ColumnHeadersHeightSizeMode
= columnHeadersHeightSizeMode,
1000
ColumnHeadersHeightSizeMode
= columnHeadersHeightSizeMode,
1037
ColumnHeadersHeightSizeMode
= columnHeadersHeightSizeMode,
2703
ColumnHeadersHeightSizeMode
= columnHeadersHeightSizeMode,
System\Windows\Forms\DataGridViewTests.cs (43)
69
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
118
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
194
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
260
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
316
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
355
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
393
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
443
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
514
ColumnHeadersHeightSizeMode
= value
521
control.
ColumnHeadersHeightSizeMode
= value;
556
control.
ColumnHeadersHeightSizeMode
= value;
564
control.
ColumnHeadersHeightSizeMode
= value;
581
ColumnHeadersHeightSizeMode
= originalColumnHeadersHeightSizeMode,
592
control.
ColumnHeadersHeightSizeMode
= value;
601
control.
ColumnHeadersHeightSizeMode
= originalColumnHeadersHeightSizeMode;
626
control.
ColumnHeadersHeightSizeMode
= value;
631
control.
ColumnHeadersHeightSizeMode
= value;
637
control.
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.EnableResizing;
643
control.
ColumnHeadersHeightSizeMode
= value;
660
control.
ColumnHeadersHeightSizeMode
= value;
665
control.
ColumnHeadersHeightSizeMode
= value;
670
control.
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.EnableResizing;
676
control.
ColumnHeadersHeightSizeMode
= value;
701
control.
ColumnHeadersHeightSizeMode
= value;
706
control.
ColumnHeadersHeightSizeMode
= value;
711
control.
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.EnableResizing;
717
control.
ColumnHeadersHeightSizeMode
= value;
755
control.
ColumnHeadersHeightSizeMode
= value;
760
control.
ColumnHeadersHeightSizeMode
= value;
765
control.
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.EnableResizing;
771
control.
ColumnHeadersHeightSizeMode
= value;
786
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
ColumnHeadersHeightSizeMode
= value);
1933
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
1965
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
2005
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
2031
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
2071
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode,
2117
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
2158
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
2199
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
2211
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
2238
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
2277
ColumnHeadersHeightSizeMode
= columnHeadersWidthSizeMode
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
139
ColumnHeadersHeightSizeMode
= DataGridViewColumnHeadersHeightSizeMode.AutoSize,
TestPassApp (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;
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;
59 references to ColumnHeadersHeightSizeMode
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
1582
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
1602
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (29)
9324
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9401
if (/*!this.RowHeadersVisible &&*/
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9455
if (ColumnHeadersVisible &&
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9595
if (ColumnHeadersVisible &&
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9609
&&
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
10553
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
10567
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
10665
bool fixedColumnHeadersHeight =
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize;
11211
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
11292
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
13563
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
13606
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
13625
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
13934
bool fixedColumnHeadersHeight =
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize;
14084
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
14100
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
14280
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
14296
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
15144
fixedColumnHeadersHeight:
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize,
15148
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
15165
&& (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize || _autoSizeRowsMode != DataGridViewAutoSizeRowsMode.None))
15171
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
16991
bool fixedColumnHeadersHeight =
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize;
17816
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
17833
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize && !fixedRowHeadersWidth)
17871
bool fixedColumnHeadersHeight = rowIndex != -1 ||
ColumnHeadersHeightSizeMode
!= DataGridViewColumnHeadersHeightSizeMode.AutoSize;
18521
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize)
18539
if (
ColumnHeadersHeightSizeMode
== DataGridViewColumnHeadersHeightSizeMode.AutoSize && !fixedRowHeadersWidth)
19730
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.Design.Tests (1)
System\Windows\Forms\Design\DataGridViewDesignerTests.cs (1)
119
_dataGridView.
ColumnHeadersHeightSizeMode
.Should().Be(DataGridViewColumnHeadersHeightSizeMode.AutoSize);
System.Windows.Forms.Tests (23)
System\Windows\Forms\DataGridViewTests.cs (23)
34
Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.
ColumnHeadersHeightSizeMode
);
516
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
522
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
557
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
565
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
593
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
602
Assert.Equal(originalColumnHeadersHeightSizeMode, control.
ColumnHeadersHeightSizeMode
);
627
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
632
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
638
Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.
ColumnHeadersHeightSizeMode
);
644
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
661
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
666
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
671
Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.
ColumnHeadersHeightSizeMode
);
677
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
702
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
707
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
712
Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.
ColumnHeadersHeightSizeMode
);
718
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
756
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
761
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);
766
Assert.Equal(DataGridViewColumnHeadersHeightSizeMode.EnableResizing, control.
ColumnHeadersHeightSizeMode
);
772
Assert.Equal(value, control.
ColumnHeadersHeightSizeMode
);