35 writes to DefaultHeaderCellType
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
746
dataGridViewBand.
DefaultHeaderCellType
= DefaultHeaderCellType;
System.Windows.Forms.Tests (34)
System\Windows\Forms\DataGridViewColumnTests.cs (13)
925
DefaultHeaderCellType
= value
930
column.
DefaultHeaderCellType
= value;
942
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell)
944
column.
DefaultHeaderCellType
= value;
948
column.
DefaultHeaderCellType
= value;
964
column.
DefaultHeaderCellType
= value;
968
column.
DefaultHeaderCellType
= value;
985
column.
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell);
987
column.
DefaultHeaderCellType
= value;
991
column.
DefaultHeaderCellType
= value;
1000
Assert.Throws<ArgumentException>("value", () => column.
DefaultHeaderCellType
= value);
1009
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell)
1011
Assert.Throws<ArgumentException>("value", () => column.
DefaultHeaderCellType
= value);
System\Windows\Forms\DataGridViewRowTests.cs (21)
608
DefaultHeaderCellType
= value
613
row.
DefaultHeaderCellType
= value;
625
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell)
627
row.
DefaultHeaderCellType
= value;
631
row.
DefaultHeaderCellType
= value;
646
row.
DefaultHeaderCellType
= value;
650
row.
DefaultHeaderCellType
= value;
666
row.
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell);
668
row.
DefaultHeaderCellType
= value;
672
row.
DefaultHeaderCellType
= value;
687
row.
DefaultHeaderCellType
= value;
691
row.
DefaultHeaderCellType
= value;
707
row.
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell);
709
row.
DefaultHeaderCellType
= value;
713
row.
DefaultHeaderCellType
= value;
722
Assert.Throws<ArgumentException>("value", () => row.
DefaultHeaderCellType
= value);
731
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell)
733
Assert.Throws<ArgumentException>("value", () => row.
DefaultHeaderCellType
= value);
3930
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell),
3973
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell),
4020
source.
DefaultHeaderCellType
= typeof(DataGridViewRowHeaderCell);
32 references to DefaultHeaderCellType
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (3)
134
nameof(
DefaultHeaderCellType
),
233
Type cellType =
DefaultHeaderCellType
;
746
dataGridViewBand.DefaultHeaderCellType =
DefaultHeaderCellType
;
System.Windows.Forms.Tests (29)
System\Windows\Forms\DataGridViewColumnTests.cs (10)
22
Assert.Same(typeof(DataGridViewColumnHeaderCell), column.
DefaultHeaderCellType
);
73
Assert.Same(typeof(DataGridViewColumnHeaderCell), column.
DefaultHeaderCellType
);
927
Assert.Equal(expected, column.
DefaultHeaderCellType
);
931
Assert.Equal(expected, column.
DefaultHeaderCellType
);
945
Assert.Equal(value, column.
DefaultHeaderCellType
);
949
Assert.Equal(value, column.
DefaultHeaderCellType
);
965
Assert.Equal(expected, column.
DefaultHeaderCellType
);
969
Assert.Equal(expected, column.
DefaultHeaderCellType
);
988
Assert.Equal(value, column.
DefaultHeaderCellType
);
992
Assert.Equal(value, column.
DefaultHeaderCellType
);
System\Windows\Forms\DataGridViewRowTests.cs (19)
23
Assert.Same(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
580
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
592
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
610
Assert.Equal(expected, row.
DefaultHeaderCellType
);
614
Assert.Equal(expected, row.
DefaultHeaderCellType
);
628
Assert.Equal(value, row.
DefaultHeaderCellType
);
632
Assert.Equal(value, row.
DefaultHeaderCellType
);
647
Assert.Equal(expected, row.
DefaultHeaderCellType
);
651
Assert.Equal(expected, row.
DefaultHeaderCellType
);
669
Assert.Equal(value, row.
DefaultHeaderCellType
);
673
Assert.Equal(value, row.
DefaultHeaderCellType
);
688
Assert.Equal(expected, row.
DefaultHeaderCellType
);
692
Assert.Equal(expected, row.
DefaultHeaderCellType
);
710
Assert.Equal(value, row.
DefaultHeaderCellType
);
714
Assert.Equal(value, row.
DefaultHeaderCellType
);
3907
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
3946
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
3989
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);
4038
Assert.Equal(typeof(DataGridViewRowHeaderCell), row.
DefaultHeaderCellType
);