30 instantiations of DataGridViewCellStyle
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
461
_textCellStyle = new
DataGridViewCellStyle
469
_boolCellStyle = new
DataGridViewCellStyle
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (7)
798
_alternatingRowsDefaultCellStyle = new
DataGridViewCellStyle
();
1545
DataGridViewCellStyle defaultStyle = new
DataGridViewCellStyle
1986
DataGridViewCellStyle defaultCellStyleTmp =
new
(_defaultCellStyle)
2058
DataGridViewCellStyle defaultCellStyle = new
DataGridViewCellStyle
2095
DataGridViewCellStyle defaultStyle = new
DataGridViewCellStyle
3054
internal DataGridViewCellStyle PlaceholderCellStyle => _placeholderCellStyle ??= new
DataGridViewCellStyle
();
3499
_rowsDefaultCellStyle = new
DataGridViewCellStyle
();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
19409
DataGridViewCellStyle inheritedCellStyle =
new
();
19742
DataGridViewCellStyle inheritedCellStyle =
new
();
28204
DataGridViewCellStyle defaultStyle =
new
();
28225
DataGridViewCellStyle defaultStyle =
new
();
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
79
style = new
DataGridViewCellStyle
();
727
dataGridViewBand.DefaultCellStyle = new
DataGridViewCellStyle
(DefaultCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
19
DataGridViewCellStyle defaultCellStyle = new
DataGridViewCellStyle
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
616
dataGridViewCellStyle = new
DataGridViewCellStyle
();
903
dataGridViewCell.Style = new
DataGridViewCellStyle
(Style);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
470
public virtual DataGridViewCellStyle Clone() =>
new
(this);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
20
DataGridViewCellStyle defaultCellStyle = new
DataGridViewCellStyle
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
443
DataGridViewCellStyle inheritedCellStyleTmp =
new
();
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
284
DataGridViewCellStyle inheritedCellStyleTmp = inheritedCellStyle ?? new
DataGridViewCellStyle
();
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
25
DataGridViewCellStyle defaultCellStyle =
new
()
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (4)
236
DataGridViewCellStyle inheritedRowStyle =
new
();
1427
DataGridViewCellStyle inheritedRowStyle =
new
();
1511
DataGridViewCellStyle inheritedCellStyle =
new
();
1712
DataGridViewCellStyle inheritedCellStyle =
new
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
309
DataGridViewCellStyle inheritedCellStyleTmp = inheritedCellStyle ?? new
DataGridViewCellStyle
();
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
76
_cellStyle = new
DataGridViewCellStyle
(value);
91
DataGridViewCellStyle cellStyleTmp =
new
(_cellStyle!);
240 references to DataGridViewCellStyle
PresentationUI (3)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (3)
832
private
DataGridViewCellStyle
_textCellStyle;
837
private
DataGridViewCellStyle
_boolCellStyle;
1003
DataGridViewCellStyle
cellStyle,
System.Windows.Forms (229)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (25)
265
private
DataGridViewCellStyle
? _placeholderCellStyle;
289
private
DataGridViewCellStyle
? _defaultCellStyle;
290
private
DataGridViewCellStyle
? _columnHeadersDefaultCellStyle;
291
private
DataGridViewCellStyle
? _rowHeadersDefaultCellStyle;
292
private
DataGridViewCellStyle
? _rowsDefaultCellStyle;
293
private
DataGridViewCellStyle
? _alternatingRowsDefaultCellStyle;
792
public
DataGridViewCellStyle
AlternatingRowsDefaultCellStyle
806
DataGridViewCellStyle
cs = AlternatingRowsDefaultCellStyle;
1514
public
DataGridViewCellStyle
ColumnHeadersDefaultCellStyle
1524
DataGridViewCellStyle
cs = ColumnHeadersDefaultCellStyle;
1541
private
DataGridViewCellStyle
DefaultColumnHeadersDefaultCellStyle
1545
DataGridViewCellStyle
defaultStyle = new DataGridViewCellStyle
1969
public
DataGridViewCellStyle
DefaultCellStyle
1986
DataGridViewCellStyle
defaultCellStyleTmp = new(_defaultCellStyle)
2037
DataGridViewCellStyle
cs = DefaultCellStyle;
2054
private
DataGridViewCellStyle
DefaultDefaultCellStyle
2058
DataGridViewCellStyle
defaultCellStyle = new DataGridViewCellStyle
2091
private
DataGridViewCellStyle
DefaultRowHeadersDefaultCellStyle
2095
DataGridViewCellStyle
defaultStyle = new DataGridViewCellStyle
2848
private
DataGridViewCellStyle
? InheritedEditingCellStyle
3054
internal
DataGridViewCellStyle
PlaceholderCellStyle => _placeholderCellStyle ??= new DataGridViewCellStyle();
3301
public
DataGridViewCellStyle
RowHeadersDefaultCellStyle
3311
DataGridViewCellStyle
cs = RowHeadersDefaultCellStyle;
3493
public
DataGridViewCellStyle
RowsDefaultCellStyle
3507
DataGridViewCellStyle
cs = RowsDefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (23)
2685
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
2832
private void BuildInheritedColumnHeaderCellStyle(
DataGridViewCellStyle
inheritedCellStyle, DataGridViewCell cell)
2836
DataGridViewCellStyle
? cellStyle = null;
2843
DataGridViewCellStyle
columnHeadersStyle = ColumnHeadersDefaultCellStyle;
2846
DataGridViewCellStyle
dataGridViewStyle = DefaultCellStyle;
3298
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
9738
private bool InitializeEditingCellValue(ref
DataGridViewCellStyle
dataGridViewCellStyle, ref DataGridViewCell dataGridViewCell)
9777
private bool InitializeEditingControlValue(ref
DataGridViewCellStyle
dataGridViewCellStyle, DataGridViewCell dataGridViewCell)
11849
DataGridViewCellStyle
cellStyle)
12799
DataGridViewCellStyle
? cellStyle)
12912
internal void OnCellStyleContentChanged(
DataGridViewCellStyle
dataGridViewCellStyle,
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal property)
12917
case
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.Font:
12935
case
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.ForeColor:
12946
changeAffectsPreferredSize: property is not
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.Color
12947
and not
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.ForeColor);
13148
DataGridViewCellStyle
dataGridViewCellStyle = currentCell.GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
19409
DataGridViewCellStyle
inheritedCellStyle = new();
19742
DataGridViewCellStyle
inheritedCellStyle = new();
25419
DataGridViewCellStyle
? cellStyle = InheritedEditingCellStyle;
25547
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCurrentCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
28204
DataGridViewCellStyle
defaultStyle = new();
28225
DataGridViewCellStyle
defaultStyle = new();
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (4)
73
public virtual
DataGridViewCellStyle
DefaultCellStyle
77
if (!Properties.TryGetValue(s_propDefaultCellStyle, out
DataGridViewCellStyle
? style))
88
DataGridViewCellStyle
? style = null;
327
public virtual
DataGridViewCellStyle
? InheritedStyle => null;
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
149
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
214
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
278
DataGridViewCellStyle
cellStyle,
605
DataGridViewCellStyle
cellStyle,
643
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (3)
19
DataGridViewCellStyle
defaultCellStyle = new DataGridViewCellStyle
48
public override
DataGridViewCellStyle
DefaultCellStyle
212
DataGridViewCellStyle
defaultCellStyle = DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (41)
175
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, RowIndex, includeColors: false);
221
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, RowIndex, includeColors: false);
364
public
DataGridViewCellStyle
InheritedStyle
610
public
DataGridViewCellStyle
Style
614
if (!Properties.TryGetValue(s_propCellStyle, out
DataGridViewCellStyle
? dataGridViewCellStyle))
625
DataGridViewCellStyle
? dataGridViewCellStyle = null;
1296
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1471
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1477
protected virtual Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex) => Rectangle.Empty;
1484
ref
DataGridViewCellStyle
dataGridViewCellStyle,
1527
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1533
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1538
protected virtual Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex) => Rectangle.Empty;
1569
internal object? GetFormattedValue(int rowIndex, ref
DataGridViewCellStyle
cellStyle, DataGridViewDataErrorContexts context)
1590
ref
DataGridViewCellStyle
cellStyle,
1871
public virtual
DataGridViewCellStyle
GetInheritedStyle(
DataGridViewCellStyle
? inheritedCellStyle, int rowIndex, bool includeColors)
1888
DataGridViewCellStyle
inheritedCellStyleTmp;
1905
DataGridViewCellStyle
? cellStyle = null;
1912
DataGridViewCellStyle
? rowStyle = null;
1919
DataGridViewCellStyle
? columnStyle = null;
1926
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
2277
internal
DataGridViewCellStyle
GetInheritedStyleInternal(int rowIndex) =>
2289
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2301
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2308
DataGridViewCellStyle
cellStyle,
2316
DataGridViewCellStyle
cellStyle,
2344
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2462
public virtual void InitializeEditingControl(int rowIndex, object? initialFormattedValue,
DataGridViewCellStyle
dataGridViewCellStyle)
2733
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2753
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
3078
DataGridViewCellStyle
cellStyle,
3093
DataGridViewCellStyle
cellStyle,
3125
DataGridViewCellStyle
cellStyle,
3561
DataGridViewCellStyle
cellStyle,
3594
DataGridViewCellStyle
cellStyle,
3637
DataGridViewCellStyle
cellStyle,
3699
DataGridViewCellStyle
cellStyle,
3714
DataGridViewCellStyle
cellStyle,
3753
DataGridViewCellStyle
cellStyle,
3787
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
236
DataGridViewCellStyle
dataGridViewCellStyle = _owner.InheritedStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellFormattingEventArgs.cs (2)
13
DataGridViewCellStyle
cellStyle)
24
public
DataGridViewCellStyle
CellStyle { get; set; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCellPaintingEventArgs.cs (3)
24
DataGridViewCellStyle
cellStyle,
74
public
DataGridViewCellStyle
? CellStyle { get; private set; }
181
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewCellParsingEventArgs.cs (2)
13
DataGridViewCellStyle
? inheritedCellStyle)
25
public
DataGridViewCellStyle
? InheritedCellStyle { get; set; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (6)
32
/// Initializes a new instance of the <see cref="
DataGridViewCellStyle
"/> class.
40
public DataGridViewCellStyle(
DataGridViewCellStyle
dataGridViewCellStyle)
395
public virtual void ApplyStyle(
DataGridViewCellStyle
dataGridViewCellStyle)
470
public virtual
DataGridViewCellStyle
Clone() => new(this);
473
o is
DataGridViewCellStyle
dgvcs && GetDifferencesFrom(dgvcs) == DataGridViewCellStyleDifferences.None;
475
internal DataGridViewCellStyleDifferences GetDifferencesFrom(
DataGridViewCellStyle
dgvcs)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleContentChangedEventArgs.cs (2)
8
internal DataGridViewCellStyleContentChangedEventArgs(
DataGridViewCellStyle
dataGridViewCellStyle, bool changeAffectsPreferredSize)
14
public
DataGridViewCellStyle
CellStyle { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
38
if (destinationType == typeof(InstanceDescriptor) && value is
DataGridViewCellStyle
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (7)
444
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
506
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
555
ref
DataGridViewCellStyle
cellStyle,
637
DataGridViewCellStyle
cellStyle,
1004
DataGridViewCellStyle
cellStyle,
1047
DataGridViewCellStyle
cellStyle,
1568
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (3)
20
DataGridViewCellStyle
defaultCellStyle = new DataGridViewCellStyle
51
public override
DataGridViewCellStyle
DefaultCellStyle
298
DataGridViewCellStyle
defaultCellStyle = DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (6)
200
public override
DataGridViewCellStyle
DefaultCellStyle
213
DataGridViewCellStyle
defaultCellStyle = DefaultCellStyle;
427
public override
DataGridViewCellStyle
? InheritedStyle
431
DataGridViewCellStyle
? columnStyle = null;
443
DataGridViewCellStyle
inheritedCellStyleTmp = new();
444
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (10)
211
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
275
public override
DataGridViewCellStyle
GetInheritedStyle(
DataGridViewCellStyle
? inheritedCellStyle, int rowIndex, bool includeColors)
284
DataGridViewCellStyle
inheritedCellStyleTmp = inheritedCellStyle ?? new DataGridViewCellStyle();
286
DataGridViewCellStyle
? cellStyle = null;
293
DataGridViewCellStyle
columnHeadersStyle = DataGridView.ColumnHeadersDefaultCellStyle;
296
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
478
DataGridViewCellStyle
cellStyle,
720
DataGridViewCellStyle
cellStyle,
750
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (12)
530
DataGridViewCellStyle
cellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
728
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
820
private int GetDropDownButtonHeight(Graphics graphics,
DataGridViewCellStyle
cellStyle)
831
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
896
ref
DataGridViewCellStyle
cellStyle,
1161
DataGridViewCellStyle
cellStyle,
1232
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(
1248
DataGridViewCellStyle
dataGridViewCellStyle)
1742
DataGridViewCellStyle
cellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1818
DataGridViewCellStyle
cellStyle,
1860
DataGridViewCellStyle
cellStyle,
2375
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
71
public virtual void ApplyCellStyleToEditingControl(
DataGridViewCellStyle
dataGridViewCellStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewEditingControlShowingEventArgs.cs (3)
8
private
DataGridViewCellStyle
_cellStyle;
10
public DataGridViewEditingControlShowingEventArgs(Control control,
DataGridViewCellStyle
cellStyle)
18
public
DataGridViewCellStyle
CellStyle
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
523
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (7)
225
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
287
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
353
ref
DataGridViewCellStyle
cellStyle,
397
DataGridViewCellStyle
cellStyle,
573
DataGridViewCellStyle
cellStyle)
686
DataGridViewCellStyle
cellStyle,
724
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (3)
25
DataGridViewCellStyle
defaultCellStyle = new()
56
public override
DataGridViewCellStyle
DefaultCellStyle
274
DataGridViewCellStyle
defaultCellStyle = DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (5)
450
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
517
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
565
DataGridViewCellStyle
cellStyle,
871
DataGridViewCellStyle
cellStyle,
909
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (16)
91
public override
DataGridViewCellStyle
DefaultCellStyle
227
public override
DataGridViewCellStyle
InheritedStyle
236
DataGridViewCellStyle
inheritedRowStyle = new();
598
private void BuildInheritedRowHeaderCellStyle(
DataGridViewCellStyle
inheritedCellStyle)
602
DataGridViewCellStyle
? cellStyle = null;
609
DataGridViewCellStyle
rowHeadersStyle = DataGridView!.RowHeadersDefaultCellStyle;
612
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
787
private void BuildInheritedRowStyle(int rowIndex,
DataGridViewCellStyle
inheritedRowStyle)
797
DataGridViewCellStyle
? rowStyle = null;
804
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
807
DataGridViewCellStyle
rowsDefaultCellStyle = DataGridView.RowsDefaultCellStyle;
810
DataGridViewCellStyle
alternatingRowsDefaultCellStyle = DataGridView.AlternatingRowsDefaultCellStyle;
1180
DataGridViewCellStyle
cellStyle,
1427
DataGridViewCellStyle
inheritedRowStyle = new();
1511
DataGridViewCellStyle
inheritedCellStyle = new();
1712
DataGridViewCellStyle
inheritedCellStyle = new();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (11)
183
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
242
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
305
public override
DataGridViewCellStyle
GetInheritedStyle(
DataGridViewCellStyle
? inheritedCellStyle, int rowIndex, bool includeColors)
309
DataGridViewCellStyle
inheritedCellStyleTmp = inheritedCellStyle ?? new DataGridViewCellStyle();
311
DataGridViewCellStyle
? cellStyle = null;
318
DataGridViewCellStyle
rowHeadersStyle = DataGridView.RowHeadersDefaultCellStyle;
321
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
508
DataGridViewCellStyle
cellStyle,
582
DataGridViewCellStyle
cellStyle,
620
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPostPaintEventArgs.cs (3)
20
DataGridViewCellStyle
inheritedRowStyle,
56
public
DataGridViewCellStyle
InheritedRowStyle { get; private set; }
175
DataGridViewCellStyle
inheritedRowStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPrePaintEventArgs.cs (3)
22
DataGridViewCellStyle
inheritedRowStyle,
59
public
DataGridViewCellStyle
InheritedRowStyle { get; private set; }
192
DataGridViewCellStyle
inheritedRowStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (8)
137
private Rectangle GetAdjustedEditingControlBounds(Rectangle editingControlBounds,
DataGridViewCellStyle
cellStyle)
256
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
323
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
387
DataGridViewCellStyle
cellStyle,
505
public override void InitializeEditingControl(int rowIndex, object? initialFormattedValue,
DataGridViewCellStyle
dataGridViewCellStyle)
604
DataGridViewCellStyle
cellStyle,
647
DataGridViewCellStyle
cellStyle,
785
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
94
public virtual void ApplyCellStyleToEditingControl(
DataGridViewCellStyle
dataGridViewCellStyle)
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (6)
26
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
83
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
134
protected override Size GetPreferredSize(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex, Size constraintSize)
174
DataGridViewCellStyle
cellStyle,
212
DataGridViewCellStyle
cellStyle,
360
DataGridViewCellStyle
cellStyle,
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (4)
153
DataGridViewCellStyle
cellStyle,
308
DataGridViewCellStyle
cellStyle)
317
DataGridViewCellStyle
cellStyle,
353
DataGridViewCellStyle
cellStyle)
System\Windows\Forms\Controls\DataGridView\IDataGridViewEditingControl.cs (1)
43
void ApplyCellStyleToEditingControl(
DataGridViewCellStyle
dataGridViewCellStyle);
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (3)
29
private
DataGridViewCellStyle
? _cellStyle;
71
public
DataGridViewCellStyle
? CellStyle
91
DataGridViewCellStyle
cellStyleTmp = new(_cellStyle!);
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (1)
33
if (value is
DataGridViewCellStyle
style)
System\Windows\Forms\Design\FormatStringDialog.cs (2)
17
private
DataGridViewCellStyle
? _dgvCellStyle;
40
public
DataGridViewCellStyle
DataGridViewCellStyle
System\Windows\Forms\Design\FormatStringEditor.cs (2)
23
DataGridViewCellStyle
? cellStyle = component as
DataGridViewCellStyle
;