Base:
property
InheritedStyle
System.Windows.Forms.DataGridViewBand.InheritedStyle
5 references to InheritedStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
233throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(InheritedStyle)));
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataGridViewRowTests.cs (4)
38Assert.Throws<InvalidOperationException>(() => row.InheritedStyle); 2180Assert.Equal(expected, row.InheritedStyle); 2187Assert.Throws<InvalidOperationException>(() => row.InheritedStyle); 2199Assert.Throws<InvalidOperationException>(() => row.InheritedStyle);