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