2 overrides of DefaultCellStyle
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
198public override DataGridViewCellStyle DefaultCellStyle
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
91public override DataGridViewCellStyle DefaultCellStyle
3 writes to DefaultCellStyle
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
741dataGridViewBand.DefaultCellStyle = new DataGridViewCellStyle(DefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
201set => base.DefaultCellStyle = value;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
101base.DefaultCellStyle = value;
7 references to DefaultCellStyle
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (5)
99style = DefaultCellStyle; 108(style is not null && value is not null && !style.Equals(DefaultCellStyle)))) 741dataGridViewBand.DefaultCellStyle = new DataGridViewCellStyle(DefaultCellStyle); 850DefaultCellStyle.RemoveScope(IsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column); 854DefaultCellStyle.AddScope(DataGridView, IsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
200get => base.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
93get => base.DefaultCellStyle;