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)
19344
DataGridViewCellStyle inheritedCellStyle =
new
();
19677
DataGridViewCellStyle inheritedCellStyle =
new
();
28131
DataGridViewCellStyle defaultStyle =
new
();
28152
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)
444
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)
2640
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
2787
private void BuildInheritedColumnHeaderCellStyle(
DataGridViewCellStyle
inheritedCellStyle, DataGridViewCell cell)
2791
DataGridViewCellStyle
? cellStyle = null;
2798
DataGridViewCellStyle
columnHeadersStyle = ColumnHeadersDefaultCellStyle;
2801
DataGridViewCellStyle
dataGridViewStyle = DefaultCellStyle;
3239
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
9679
private bool InitializeEditingCellValue(ref
DataGridViewCellStyle
dataGridViewCellStyle, ref DataGridViewCell dataGridViewCell)
9718
private bool InitializeEditingControlValue(ref
DataGridViewCellStyle
dataGridViewCellStyle, DataGridViewCell dataGridViewCell)
11790
DataGridViewCellStyle
cellStyle)
12740
DataGridViewCellStyle
? cellStyle)
12853
internal void OnCellStyleContentChanged(
DataGridViewCellStyle
dataGridViewCellStyle,
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal property)
12858
case
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.Font:
12876
case
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.ForeColor:
12887
changeAffectsPreferredSize: property is not
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.Color
12888
and not
DataGridViewCellStyle
.DataGridViewCellStylePropertyInternal.ForeColor);
13089
DataGridViewCellStyle
dataGridViewCellStyle = currentCell.GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
19344
DataGridViewCellStyle
inheritedCellStyle = new();
19677
DataGridViewCellStyle
inheritedCellStyle = new();
25346
DataGridViewCellStyle
? cellStyle = InheritedEditingCellStyle;
25474
DataGridViewCellStyle
dataGridViewCellStyle = dataGridViewCurrentCell.GetInheritedStyle(inheritedCellStyle: null, _ptCurrentCell.Y, includeColors: true);
28131
DataGridViewCellStyle
defaultStyle = new();
28152
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);
1459
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1465
protected virtual Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex) => Rectangle.Empty;
1472
ref
DataGridViewCellStyle
dataGridViewCellStyle,
1515
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1521
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
1526
protected virtual Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex) => Rectangle.Empty;
1557
internal object? GetFormattedValue(int rowIndex, ref
DataGridViewCellStyle
cellStyle, DataGridViewDataErrorContexts context)
1578
ref
DataGridViewCellStyle
cellStyle,
1859
public virtual
DataGridViewCellStyle
GetInheritedStyle(
DataGridViewCellStyle
? inheritedCellStyle, int rowIndex, bool includeColors)
1876
DataGridViewCellStyle
inheritedCellStyleTmp;
1893
DataGridViewCellStyle
? cellStyle = null;
1900
DataGridViewCellStyle
? rowStyle = null;
1907
DataGridViewCellStyle
? columnStyle = null;
1914
DataGridViewCellStyle
dataGridViewStyle = DataGridView.DefaultCellStyle;
2265
internal
DataGridViewCellStyle
GetInheritedStyleInternal(int rowIndex) =>
2277
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2289
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2296
DataGridViewCellStyle
cellStyle,
2304
DataGridViewCellStyle
cellStyle,
2332
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2450
public virtual void InitializeEditingControl(int rowIndex, object? initialFormattedValue,
DataGridViewCellStyle
dataGridViewCellStyle)
2721
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
2741
DataGridViewCellStyle
dataGridViewCellStyle = GetInheritedStyle(inheritedCellStyle: null, rowIndex, includeColors: false);
3066
DataGridViewCellStyle
cellStyle,
3081
DataGridViewCellStyle
cellStyle,
3113
DataGridViewCellStyle
cellStyle,
3549
DataGridViewCellStyle
cellStyle,
3582
DataGridViewCellStyle
cellStyle,
3625
DataGridViewCellStyle
cellStyle,
3687
DataGridViewCellStyle
cellStyle,
3702
DataGridViewCellStyle
cellStyle,
3741
DataGridViewCellStyle
cellStyle,
3775
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)
31
/// Initializes a new instance of the <see cref="
DataGridViewCellStyle
"/> class.
39
public DataGridViewCellStyle(
DataGridViewCellStyle
dataGridViewCellStyle)
374
public virtual void ApplyStyle(
DataGridViewCellStyle
dataGridViewCellStyle)
444
public virtual
DataGridViewCellStyle
Clone() => new(this);
447
o is
DataGridViewCellStyle
dgvcs && GetDifferencesFrom(dgvcs) == DataGridViewCellStyleDifferences.None;
449
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,
1567
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)
420
protected override Rectangle GetContentBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
487
protected override Rectangle GetErrorIconBounds(Graphics graphics,
DataGridViewCellStyle
cellStyle, int rowIndex)
535
DataGridViewCellStyle
cellStyle,
841
DataGridViewCellStyle
cellStyle,
879
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
;