30 references to RowsDefaultCellStyle
System.Windows.Forms (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
3507
DataGridViewCellStyle cs =
RowsDefaultCellStyle
;
3512
DataGridViewCellStyleDifferences dgvcsc = cs.GetDifferencesFrom(
RowsDefaultCellStyle
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
28226
return !
RowsDefaultCellStyle
.Equals(defaultStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (26)
1939
else if (!DataGridView.
RowsDefaultCellStyle
.BackColor.IsEmpty &&
1942
inheritedCellStyleTmp.BackColor = DataGridView.
RowsDefaultCellStyle
.BackColor;
1965
else if (!DataGridView.
RowsDefaultCellStyle
.ForeColor.IsEmpty &&
1968
inheritedCellStyleTmp.ForeColor = DataGridView.
RowsDefaultCellStyle
.ForeColor;
1991
else if (!DataGridView.
RowsDefaultCellStyle
.SelectionBackColor.IsEmpty &&
1994
inheritedCellStyleTmp.SelectionBackColor = DataGridView.
RowsDefaultCellStyle
.SelectionBackColor;
2017
else if (!DataGridView.
RowsDefaultCellStyle
.SelectionForeColor.IsEmpty &&
2020
inheritedCellStyleTmp.SelectionForeColor = DataGridView.
RowsDefaultCellStyle
.SelectionForeColor;
2044
else if (DataGridView.
RowsDefaultCellStyle
.Font is not null &&
2047
inheritedCellStyleTmp.Font = DataGridView.
RowsDefaultCellStyle
.Font;
2070
else if (!DataGridView.
RowsDefaultCellStyle
.IsNullValueDefault &&
2073
inheritedCellStyleTmp.NullValue = DataGridView.
RowsDefaultCellStyle
.NullValue;
2097
else if (!DataGridView.
RowsDefaultCellStyle
.IsDataSourceNullValueDefault &&
2100
inheritedCellStyleTmp.DataSourceNullValue = DataGridView.
RowsDefaultCellStyle
.DataSourceNullValue;
2124
else if (DataGridView.
RowsDefaultCellStyle
.Format.Length != 0 &&
2127
inheritedCellStyleTmp.Format = DataGridView.
RowsDefaultCellStyle
.Format;
2150
else if (!DataGridView.
RowsDefaultCellStyle
.IsFormatProviderDefault &&
2153
inheritedCellStyleTmp.FormatProvider = DataGridView.
RowsDefaultCellStyle
.FormatProvider;
2176
else if (DataGridView.
RowsDefaultCellStyle
.Alignment != DataGridViewContentAlignment.NotSet &&
2179
inheritedCellStyleTmp.AlignmentInternal = DataGridView.
RowsDefaultCellStyle
.Alignment;
2203
else if (DataGridView.
RowsDefaultCellStyle
.WrapMode != DataGridViewTriState.NotSet &&
2206
inheritedCellStyleTmp.WrapModeInternal = DataGridView.
RowsDefaultCellStyle
.WrapMode;
2230
else if (DataGridView.
RowsDefaultCellStyle
.Tag is not null &&
2233
inheritedCellStyleTmp.Tag = DataGridView.
RowsDefaultCellStyle
.Tag;
2256
else if (DataGridView.
RowsDefaultCellStyle
.Padding != Padding.Empty &&
2259
inheritedCellStyleTmp.PaddingInternal = DataGridView.
RowsDefaultCellStyle
.Padding;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
807
DataGridViewCellStyle rowsDefaultCellStyle = DataGridView.
RowsDefaultCellStyle
;