3 writes to RowsDefaultCellStyle
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewRowTests.cs (1)
2158control.RowsDefaultCellStyle = rowsDefaultCellStyle;
System\Windows\Forms\DataGridViewTests.cs (2)
3369_dataGridView.RowsDefaultCellStyle = new() { BackColor = Color.Red }; 3373_dataGridView.RowsDefaultCellStyle = new();
30 references to RowsDefaultCellStyle
System.Windows.Forms (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
3500DataGridViewCellStyle cs = RowsDefaultCellStyle; 3505DataGridViewCellStyleDifferences dgvcsc = cs.GetDifferencesFrom(RowsDefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
28161return !RowsDefaultCellStyle.Equals(defaultStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (26)
1938else if (!DataGridView.RowsDefaultCellStyle.BackColor.IsEmpty && 1941inheritedCellStyleTmp.BackColor = DataGridView.RowsDefaultCellStyle.BackColor; 1964else if (!DataGridView.RowsDefaultCellStyle.ForeColor.IsEmpty && 1967inheritedCellStyleTmp.ForeColor = DataGridView.RowsDefaultCellStyle.ForeColor; 1990else if (!DataGridView.RowsDefaultCellStyle.SelectionBackColor.IsEmpty && 1993inheritedCellStyleTmp.SelectionBackColor = DataGridView.RowsDefaultCellStyle.SelectionBackColor; 2016else if (!DataGridView.RowsDefaultCellStyle.SelectionForeColor.IsEmpty && 2019inheritedCellStyleTmp.SelectionForeColor = DataGridView.RowsDefaultCellStyle.SelectionForeColor; 2043else if (DataGridView.RowsDefaultCellStyle.Font is not null && 2046inheritedCellStyleTmp.Font = DataGridView.RowsDefaultCellStyle.Font; 2069else if (!DataGridView.RowsDefaultCellStyle.IsNullValueDefault && 2072inheritedCellStyleTmp.NullValue = DataGridView.RowsDefaultCellStyle.NullValue; 2096else if (!DataGridView.RowsDefaultCellStyle.IsDataSourceNullValueDefault && 2099inheritedCellStyleTmp.DataSourceNullValue = DataGridView.RowsDefaultCellStyle.DataSourceNullValue; 2123else if (DataGridView.RowsDefaultCellStyle.Format.Length != 0 && 2126inheritedCellStyleTmp.Format = DataGridView.RowsDefaultCellStyle.Format; 2149else if (!DataGridView.RowsDefaultCellStyle.IsFormatProviderDefault && 2152inheritedCellStyleTmp.FormatProvider = DataGridView.RowsDefaultCellStyle.FormatProvider; 2175else if (DataGridView.RowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.NotSet && 2178inheritedCellStyleTmp.AlignmentInternal = DataGridView.RowsDefaultCellStyle.Alignment; 2202else if (DataGridView.RowsDefaultCellStyle.WrapMode != DataGridViewTriState.NotSet && 2205inheritedCellStyleTmp.WrapModeInternal = DataGridView.RowsDefaultCellStyle.WrapMode; 2229else if (DataGridView.RowsDefaultCellStyle.Tag is not null && 2232inheritedCellStyleTmp.Tag = DataGridView.RowsDefaultCellStyle.Tag; 2255else if (DataGridView.RowsDefaultCellStyle.Padding != Padding.Empty && 2258inheritedCellStyleTmp.PaddingInternal = DataGridView.RowsDefaultCellStyle.Padding;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
807DataGridViewCellStyle rowsDefaultCellStyle = DataGridView.RowsDefaultCellStyle;