30 references to RowsDefaultCellStyle
System.Windows.Forms (30)
winforms\Managed\System\WinForms\DataGridView.cs (2)
4467DataGridViewCellStyle cs = this.RowsDefaultCellStyle; 4474DataGridViewCellStyleDifferences dgvcsc = cs.GetDifferencesFrom(this.RowsDefaultCellStyle);
winforms\Managed\System\WinForms\DataGridViewCell.cs (26)
2221else if (!this.DataGridView.RowsDefaultCellStyle.BackColor.IsEmpty && 2224inheritedCellStyleTmp.BackColor = this.DataGridView.RowsDefaultCellStyle.BackColor; 2247else if (!this.DataGridView.RowsDefaultCellStyle.ForeColor.IsEmpty && 2250inheritedCellStyleTmp.ForeColor = this.DataGridView.RowsDefaultCellStyle.ForeColor; 2273else if (!this.DataGridView.RowsDefaultCellStyle.SelectionBackColor.IsEmpty && 2276inheritedCellStyleTmp.SelectionBackColor = this.DataGridView.RowsDefaultCellStyle.SelectionBackColor; 2299else if (!this.DataGridView.RowsDefaultCellStyle.SelectionForeColor.IsEmpty && 2302inheritedCellStyleTmp.SelectionForeColor = this.DataGridView.RowsDefaultCellStyle.SelectionForeColor; 2326else if (this.DataGridView.RowsDefaultCellStyle.Font != null && 2329inheritedCellStyleTmp.Font = this.DataGridView.RowsDefaultCellStyle.Font; 2352else if (!this.DataGridView.RowsDefaultCellStyle.IsNullValueDefault && 2355inheritedCellStyleTmp.NullValue = this.DataGridView.RowsDefaultCellStyle.NullValue; 2379else if (!this.DataGridView.RowsDefaultCellStyle.IsDataSourceNullValueDefault && 2382inheritedCellStyleTmp.DataSourceNullValue = this.DataGridView.RowsDefaultCellStyle.DataSourceNullValue; 2406else if (this.DataGridView.RowsDefaultCellStyle.Format.Length != 0 && 2409inheritedCellStyleTmp.Format = this.DataGridView.RowsDefaultCellStyle.Format; 2432else if (!this.DataGridView.RowsDefaultCellStyle.IsFormatProviderDefault && 2435inheritedCellStyleTmp.FormatProvider = this.DataGridView.RowsDefaultCellStyle.FormatProvider; 2458else if (this.DataGridView.RowsDefaultCellStyle.Alignment != DataGridViewContentAlignment.NotSet && 2461inheritedCellStyleTmp.AlignmentInternal = this.DataGridView.RowsDefaultCellStyle.Alignment; 2485else if (this.DataGridView.RowsDefaultCellStyle.WrapMode != DataGridViewTriState.NotSet && 2488inheritedCellStyleTmp.WrapModeInternal = this.DataGridView.RowsDefaultCellStyle.WrapMode; 2512else if (this.DataGridView.RowsDefaultCellStyle.Tag != null && 2515inheritedCellStyleTmp.Tag = this.DataGridView.RowsDefaultCellStyle.Tag; 2538else if (this.DataGridView.RowsDefaultCellStyle.Padding != Padding.Empty && 2541inheritedCellStyleTmp.PaddingInternal = this.DataGridView.RowsDefaultCellStyle.Padding;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
28159return !this.RowsDefaultCellStyle.Equals(defaultStyle);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
885DataGridViewCellStyle rowsDefaultCellStyle = this.DataGridView.RowsDefaultCellStyle;