39 references to HasStyle
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
2795if (cell.HasStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (4)
634if (HasStyle) 909if (HasStyle) 1905if (HasStyle) 3053if (HasStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
287if (HasStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
603if (HeaderCell.HasStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
312if (HasStyle)
System.Windows.Forms.Tests (31)
System\Windows\Forms\DataGridViewCellTests.cs (26)
34Assert.False(cell.HasStyle); 2257Assert.True(cell.HasStyle); 2262Assert.True(cell.HasStyle); 2279Assert.True(cell.HasStyle); 2284Assert.True(cell.HasStyle); 2297Assert.True(cell.HasStyle); 2302Assert.True(cell.HasStyle); 2322Assert.True(cell.HasStyle); 2327Assert.True(cell.HasStyle); 2340Assert.True(cell.HasStyle); 2345Assert.True(cell.HasStyle); 2365Assert.True(cell.HasStyle); 2370Assert.True(cell.HasStyle); 2388Assert.True(cell.HasStyle); 2393Assert.True(cell.HasStyle); 2416Assert.True(cell.HasStyle); 2421Assert.True(cell.HasStyle); 2454Assert.True(cell.HasStyle); 2460Assert.True(cell.HasStyle); 2470Assert.True(cell.HasStyle); 2476Assert.True(cell.HasStyle); 2482Assert.True(cell.HasStyle); 2488Assert.True(cell.HasStyle); 2495Assert.True(cell.HasStyle); 3349Assert.True(cell.HasStyle); 3386Assert.False(cell.HasStyle);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
32Assert.False(cell.HasStyle); 2051Assert.True(cell.HasStyle); 2088Assert.False(cell.HasStyle); 2137Assert.True(cell.HasStyle); 2174Assert.False(cell.HasStyle);