3 writes to DefaultCellStyle
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (3)
79_listenerDataGridView.DefaultCellStyle = _cellStyle; 92_sampleDataGridView.DefaultCellStyle = cellStyleTmp; 93_sampleDataGridViewSelected.DefaultCellStyle = cellStyleTmp;
19 references to DefaultCellStyle
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
481BackgroundColor = DefaultCellStyle.BackColor;
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2042DataGridViewCellStyle cs = DefaultCellStyle; 2050DataGridViewCellStyleDifferences dgvcsc = cs.GetDifferencesFrom(DefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
43DefaultCellStyle.BackColor = surface; 44DefaultCellStyle.ForeColor = onSurface; 61DefaultCellStyle.SelectionBackColor = selectionBg; 62DefaultCellStyle.SelectionForeColor = selectionFg; 2846DataGridViewCellStyle dataGridViewStyle = DefaultCellStyle; 15160if (_dataGridViewState1[State1_AmbientFont] && DefaultCellStyle.Font != base.Font) 15162DefaultCellStyle.Font = base.Font; 15178if (_dataGridViewState1[State1_AmbientForeColor] && DefaultCellStyle.ForeColor != base.ForeColor) 15180DefaultCellStyle.ForeColor = base.ForeColor; 28215return !DefaultCellStyle.Equals(DefaultDefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1926DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
444DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
296DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
612DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle; 804DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
321DataGridViewCellStyle dataGridViewStyle = DataGridView.DefaultCellStyle;