25 references to DataGridLineStyle
System.Windows.Forms (25)
winforms\Managed\System\WinForms\DataGrid.cs (10)
101
private const
DataGridLineStyle
defaultGridLineStyle =
DataGridLineStyle
.Solid;
102
private
DataGridLineStyle
gridLineStyle = defaultGridLineStyle;
1852
public
DataGridLineStyle
GridLineStyle {
1858
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DataGridLineStyle
.None, (int)
DataGridLineStyle
.Solid))
1860
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DataGridLineStyle
));
1872
Debug.Assert(this.GridLineStyle ==
DataGridLineStyle
.Solid || this.GridLineStyle ==
DataGridLineStyle
.None, "are there any other styles?");
1873
return GridLineStyle ==
DataGridLineStyle
.Solid ? 1 : 0;
winforms\Managed\System\WinForms\DataGridAddNewRow.cs (2)
90
DataGridLineStyle
gridStyle;
95
int bWidth = this.DataGrid == null ? 0 : gridStyle ==
DataGridLineStyle
.Solid ? 1 : 0;
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
122
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DataGridLineStyle
));
winforms\Managed\System\WinForms\DataGridTable.cs (12)
81
private const
DataGridLineStyle
defaultGridLineStyle =
DataGridLineStyle
.Solid;
95
private
DataGridLineStyle
gridLineStyle = defaultGridLineStyle;
305
DataGridLineStyle
gridStyle;
315
if (gridStyle ==
DataGridLineStyle
.None)
523
Debug.Assert(this.GridLineStyle ==
DataGridLineStyle
.Solid || this.GridLineStyle ==
DataGridLineStyle
.None, "are there any other styles?");
524
return GridLineStyle ==
DataGridLineStyle
.Solid ? 1 : 0;
537
public
DataGridLineStyle
GridLineStyle {
547
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DataGridLineStyle
.None, (int)
DataGridLineStyle
.Solid)) {
548
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DataGridLineStyle
));