6 references to InheritedStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
236
DataGridViewCellStyle dataGridViewCellStyle = _owner.
InheritedStyle
;
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataGridViewCellTests.cs (3)
1512
Assert.Throws<InvalidOperationException>(() => cell.
InheritedStyle
);
1521
Assert.Throws<InvalidOperationException>(() => cell.
InheritedStyle
);
1530
Assert.Throws<InvalidOperationException>(() => cell.
InheritedStyle
);
System\Windows\Forms\DataGridViewTests.cs (2)
3690
DataGridViewCellFormattingEventArgs cellFormattingEventArgs = new(0, 0, dataGridView.Rows[0].Cells[0].Value, dataGridView.Rows[0].Cells[0].ValueType, dataGridView.Rows[0].Cells[0].
InheritedStyle
);
3695
cellFormattingEventArgs = new(0, 1, dataGridView.Rows[1].Cells[0].Value, dataGridView.Rows[1].Cells[0].ValueType, dataGridView.Rows[1].Cells[0].
InheritedStyle
);