36 references to NotSet
System.Windows.Forms (36)
winforms\Managed\System\WinForms\DataGridView.cs (2)
2509
this.defaultCellStyle.Alignment == DataGridViewContentAlignment.
NotSet
||
2536
if (this.defaultCellStyle.Alignment == DataGridViewContentAlignment.
NotSet
)
winforms\Managed\System\WinForms\DataGridViewCell.cs (7)
2450
if (cellStyle != null && cellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2454
else if (rowStyle != null && rowStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2458
else if (this.DataGridView.RowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
&&
2459
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.Alignment == DataGridViewContentAlignment.
NotSet
))
2463
else if (rowIndex % 2 == 1 && this.DataGridView.AlternatingRowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2467
else if (columnStyle != null && columnStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2473
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (5)
88
DefaultValue(DataGridViewContentAlignment.
NotSet
),
101
return DataGridViewContentAlignment.
NotSet
;
107
case DataGridViewContentAlignment.
NotSet
:
642
if (dataGridViewCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
898
if (this.Alignment != DataGridViewContentAlignment.
NotSet
)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
323
defaultCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
||
717
if (columnStyle != null && columnStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
723
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
456
if (cellStyle != null && cellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
460
else if (columnHeadersStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
466
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
742
Debug.Assert(cellStyle.Alignment == DataGridViewContentAlignment.
NotSet
, "this is the only alignment left");
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
2958
if (cellStyle != null && cellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2962
else if (columnHeadersStyle != null && columnHeadersStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
2968
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewRow.cs (8)
814
if (cellStyle != null && cellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
818
else if (rowHeadersStyle != null && rowHeadersStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
824
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
1047
if (rowStyle != null && rowStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
1051
else if (rowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
&& (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.Alignment == DataGridViewContentAlignment.
NotSet
))
1055
else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
1061
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
582
if (cellStyle != null && cellStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
586
else if (rowHeadersStyle.Alignment != DataGridViewContentAlignment.
NotSet
)
592
Debug.Assert(dataGridViewStyle.Alignment != DataGridViewContentAlignment.
NotSet
);
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (1)
434
Debug.Assert(cellStyle.Alignment == DataGridViewContentAlignment.
NotSet
, "this is the only alignment left");