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