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)
3507DataGridViewCellStyle cs = RowsDefaultCellStyle; 3512DataGridViewCellStyleDifferences dgvcsc = cs.GetDifferencesFrom(RowsDefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
28153return !RowsDefaultCellStyle.Equals(defaultStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (26)
1927else if (!DataGridView.RowsDefaultCellStyle.BackColor.IsEmpty && 1930inheritedCellStyleTmp.BackColor = DataGridView.RowsDefaultCellStyle.BackColor; 1953else if (!DataGridView.RowsDefaultCellStyle.ForeColor.IsEmpty && 1956inheritedCellStyleTmp.ForeColor = DataGridView.RowsDefaultCellStyle.ForeColor; 1979else if (!DataGridView.RowsDefaultCellStyle.SelectionBackColor.IsEmpty && 1982inheritedCellStyleTmp.SelectionBackColor = DataGridView.RowsDefaultCellStyle.SelectionBackColor; 2005else if (!DataGridView.RowsDefaultCellStyle.SelectionForeColor.IsEmpty && 2008inheritedCellStyleTmp.SelectionForeColor = DataGridView.RowsDefaultCellStyle.SelectionForeColor; 2032else if (DataGridView.RowsDefaultCellStyle.Font is not null && 2035inheritedCellStyleTmp.Font = DataGridView.RowsDefaultCellStyle.Font; 2058else if (!DataGridView.RowsDefaultCellStyle.IsNullValueDefault && 2061inheritedCellStyleTmp.NullValue = DataGridView.RowsDefaultCellStyle.NullValue; 2085else if (!DataGridView.RowsDefaultCellStyle.IsDataSourceNullValueDefault && 2088inheritedCellStyleTmp.DataSourceNullValue = DataGridView.RowsDefaultCellStyle.DataSourceNullValue; 2112else if (DataGridView.RowsDefaultCellStyle.Format.Length != 0 && 2115inheritedCellStyleTmp.Format = DataGridView.RowsDefaultCellStyle.Format; 2138else if (!DataGridView.RowsDefaultCellStyle.IsFormatProviderDefault && 2141inheritedCellStyleTmp.FormatProvider = DataGridView.RowsDefaultCellStyle.FormatProvider; 2164else if (DataGridView.RowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.NotSet && 2167inheritedCellStyleTmp.AlignmentInternal = DataGridView.RowsDefaultCellStyle.Alignment; 2191else if (DataGridView.RowsDefaultCellStyle.WrapMode != DataGridViewTriState.NotSet && 2194inheritedCellStyleTmp.WrapModeInternal = DataGridView.RowsDefaultCellStyle.WrapMode; 2218else if (DataGridView.RowsDefaultCellStyle.Tag is not null && 2221inheritedCellStyleTmp.Tag = DataGridView.RowsDefaultCellStyle.Tag; 2244else if (DataGridView.RowsDefaultCellStyle.Padding != Padding.Empty && 2247inheritedCellStyleTmp.PaddingInternal = DataGridView.RowsDefaultCellStyle.Padding;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
807DataGridViewCellStyle rowsDefaultCellStyle = DataGridView.RowsDefaultCellStyle;