16 writes to DividerHeight
System.Windows.Forms.Tests (16)
System\Windows\Forms\DataGridViewCellTests.cs (3)
3226
DividerHeight
= 10
3259
row.
DividerHeight
= 11;
3280
row.
DividerHeight
= 11;
System\Windows\Forms\DataGridViewRowTests.cs (13)
799
DividerHeight
= value
804
row.
DividerHeight
= value;
819
row.
DividerHeight
= value;
824
row.
DividerHeight
= value;
849
row.
DividerHeight
= 4;
854
row.
DividerHeight
= 4;
859
row.
DividerHeight
= 3;
865
row.
DividerHeight
= 4;
876
Assert.Throws<ArgumentOutOfRangeException>("value", () => row.
DividerHeight
= value);
888
Assert.Throws<InvalidOperationException>(() => row.
DividerHeight
= -1);
3933
DividerHeight
= 10,
3976
DividerHeight
= 10,
4023
source.
DividerHeight
= 10;
18 references to DividerHeight
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
874
rect.Height += OwningRow.
DividerHeight
;
3181
dividerThickness = OwningRow?.
DividerHeight
?? 0;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
130
throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(
DividerHeight
)));
System.Windows.Forms.Tests (15)
System\Windows\Forms\DataGridViewRowTests.cs (15)
27
Assert.Equal(0, row.
DividerHeight
);
771
Assert.Equal(0, row.
DividerHeight
);
783
Assert.Equal(0, row.
DividerHeight
);
801
Assert.Equal(value, row.
DividerHeight
);
805
Assert.Equal(value, row.
DividerHeight
);
820
Assert.Equal(value, row.
DividerHeight
);
825
Assert.Equal(value, row.
DividerHeight
);
850
Assert.Equal(4, row.
DividerHeight
);
855
Assert.Equal(4, row.
DividerHeight
);
860
Assert.Equal(3, row.
DividerHeight
);
866
Assert.Equal(4, row.
DividerHeight
);
3910
Assert.Equal(0, row.
DividerHeight
);
3949
Assert.Equal(10, row.
DividerHeight
);
3992
Assert.Equal(10, row.
DividerHeight
);
4041
Assert.Equal(10, row.
DividerHeight
);