9 types derived from DataGridViewCell
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
15
public partial class DataGridViewButtonCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
15
public partial class DataGridViewCheckBoxCell :
DataGridViewCell
, IDataGridViewEditingCell
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
13
public partial class DataGridViewComboBoxCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ItemComparer.cs (1)
8
public partial class DataGridViewComboBoxCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (1)
9
public partial class DataGridViewComboBoxCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
12
public partial class DataGridViewHeaderCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
11
public partial class DataGridViewImageCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
10
public partial class DataGridViewLinkCell :
DataGridViewCell
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
12
public partial class DataGridViewTextBoxCell :
DataGridViewCell
236 references to DataGridViewCell
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
268
DataGridViewCell
cell = row.Cells[RightsTableColumnToIndex(RightsTableColumn.User)];
380
DataGridViewCell
nameCell = new DataGridViewTextBoxCell
System.Windows.Forms (233)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (12)
1133
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
1703
public
DataGridViewCell
? CurrentCell
1777
private
DataGridViewCell
CurrentCellInternal
1785
DataGridViewCell
dataGridViewCell = dataGridViewRow.Cells[_ptCurrentCell.X];
2281
public
DataGridViewCell
? FirstDisplayedCell
2297
DataGridViewCell
firstDisplayedCell = value;
2922
private bool IsSharedCellReadOnly(
DataGridViewCell
dataGridViewCell, int rowIndex)
2933
internal bool IsSharedCellSelected(
DataGridViewCell
dataGridViewCell, int rowIndex)
2943
internal bool IsSharedCellVisible(
DataGridViewCell
dataGridViewCell, int rowIndex)
3667
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
4009
public
DataGridViewCell
this[int columnIndex, int rowIndex]
4025
public
DataGridViewCell
this[string columnName, int rowIndex]
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
45
DataGridViewCell
? currentCell = owner.CurrentCell;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (106)
48
DataGridViewCell
? currentCell = CurrentCell;
376
DataGridViewCell
dataGridViewCell;
455
DataGridViewCell
dataGridViewCell;
2582
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
2612
DataGridViewCell
previousCurrentCell = dataGridViewCell;
2787
private void BuildInheritedColumnHeaderCellStyle(DataGridViewCellStyle inheritedCellStyle,
DataGridViewCell
cell)
3236
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
3300
private bool CanValidateDataBoundDataGridViewCell(
DataGridViewCell
? dataGridViewCurrentCell)
3718
DataGridViewCell
? dataGridViewCurrentCell = CurrentCellInternal;
3746
ref
DataGridViewCell
? dataGridViewCurrentCell,
3978
DataGridViewCell
? dataGridViewCurrentCell = CurrentCellInternal;
4082
DataGridViewCell
? dataGridViewCellTmp = null;
4188
DataGridViewCell
[] cells = new
DataGridViewCell
[Columns.Count - cellsInCollection];
4196
DataGridViewCell
dgvcNew = (
DataGridViewCell
)Columns[columnIndex].CellTemplate!.Clone();
6169
DataGridViewCell
? dataGridViewCurrentCell = CurrentCellInternal;
6884
foreach (
DataGridViewCell
dataGridViewCell in _individualSelectedCells)
6909
DataGridViewCell
dataGridViewCell = dataGridViewRow.Cells[columnIndex];
6926
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
6956
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
6970
DataGridViewCell
dataGridViewCell,
7100
internal
DataGridViewCell
GetCellInternal(int columnIndex, int rowIndex)
7112
return columnIndex >= 0 ? Columns[columnIndex].HeaderCell : (
DataGridViewCell
)TopLeftHeaderCell;
7749
foreach (
DataGridViewCell
dataGridViewCell in _individualSelectedCells)
7863
foreach (
DataGridViewCell
dataGridViewCell in _individualSelectedCells)
9679
private bool InitializeEditingCellValue(ref DataGridViewCellStyle dataGridViewCellStyle, ref
DataGridViewCell
dataGridViewCell)
9718
private bool InitializeEditingControlValue(ref DataGridViewCellStyle dataGridViewCellStyle,
DataGridViewCell
dataGridViewCell)
9757
public void InvalidateCell(
DataGridViewCell
dataGridViewCell)
9769
private void InvalidateCellPrivate(
DataGridViewCell
dataGridViewCell)
10597
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRowDebug.Cells)
10608
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
10809
DataGridViewCell
dataGridViewCellNew = (
DataGridViewCell
)dataGridViewColumn.CellTemplate.Clone();
10961
DataGridViewCell
dataGridViewCellNew = (
DataGridViewCell
)dataGridViewColumn.CellTemplate!.Clone();
11016
DataGridViewCell
dataGridViewCell = dataGridViewRow.Cells[columnIndex];
11545
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11629
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11654
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11670
internal void OnCellContextMenuStripChanged(
DataGridViewCell
dataGridViewCell)
11699
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11721
internal void OnCellEnter(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
11754
internal void OnCellErrorTextChanged(
DataGridViewCell
dataGridViewCell)
11809
internal void OnCellLeave(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
11846
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11867
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
11888
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
12612
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
12635
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
12655
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
12713
DataGridViewCell
dataGridViewCell = GetCellInternal(e.ColumnIndex, e.RowIndex);
12808
DataGridViewCell
dataGridViewCell = e.Cell;
12840
internal void OnCellStyleChanged(
DataGridViewCell
dataGridViewCell)
13020
internal void OnCellToolTipTextChanged(
DataGridViewCell
dataGridViewCell)
13045
internal void OnCellValidated(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
13083
ref
DataGridViewCell
? dataGridViewCell,
13088
DataGridViewCell
currentCell = dataGridViewCell ?? CurrentCellInternal;
13720
DataGridViewCell
? dataGridViewCellTmp = null;
14673
if (element is
DataGridViewCell
dataGridViewCell)
14837
if (element is
DataGridViewCell
dataGridViewCell)
15015
DataGridViewCell
? dataGridViewCell = null;
15444
DataGridViewCell
dataGridViewCellNew = (
DataGridViewCell
)dataGridViewColumn.CellTemplate.Clone();
15678
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
15737
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
15771
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
15814
DataGridViewCell
? dataGridViewCell = null;
17241
foreach (
DataGridViewCell
cell in Rows[rowIndexDeleted].Cells)
17374
DataGridViewCell
dataGridViewCell = dataGridViewRow.Cells[columnIndex];
17418
DataGridViewCell
dataGridViewCell = dataGridViewRow.Cells[columnIndex];
17646
ref
DataGridViewCell
? dataGridViewCell,
17971
DataGridViewCell
? dataGridViewCellTmp = null;
18317
private void OnRowLeave(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
18717
private bool OnRowValidating(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
18759
private void OnRowValidated(ref
DataGridViewCell
? dataGridViewCell, int columnIndex, int rowIndex)
19064
DataGridViewCell
? dataGridViewCellTmp = null;
19343
DataGridViewCell
cell;
19676
DataGridViewCell
cell = TopLeftHeaderCell;
19771
foreach (
DataGridViewCell
dataGridViewCell in newRowCells)
19781
foreach (
DataGridViewCell
dataGridViewCell in newRowCells)
19798
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
21412
DataGridViewCell
? dataGridViewCurrentCell = null;
21877
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
22043
DataGridViewCell
dataGridViewCell = CurrentCell;
25270
DataGridViewCell
dataGridViewCell = CurrentCellInternal;
25288
DataGridViewCell
dataGridViewCurrentCell = CurrentCellInternal;
25338
private bool PushFormattedValue(ref
DataGridViewCell
dataGridViewCurrentCell, object? formattedValue, out Exception? exception)
25473
DataGridViewCell
dataGridViewCurrentCell = CurrentCellInternal;
25607
foreach (
DataGridViewCell
cell in row.Cells)
25639
DataGridViewCell
dataGridViewCell = _individualReadOnlyCells[cellIndex];
25656
DataGridViewCell
dataGridViewCell = _individualReadOnlyCells[cellIndex];
25682
DataGridViewCell
dataGridViewCell = _individualSelectedCells.HeadCell;
25709
DataGridViewCell
dataGridViewCell = _individualSelectedCells.HeadCell;
25742
DataGridViewCell
dataGridViewCell;
25796
DataGridViewCell
dataGridViewCell = _individualSelectedCells[cellIndex];
26637
private
DataGridViewCell
? SelectedCell(int index)
26777
DataGridViewCell
? dataGridViewCellTmp = null;
26802
DataGridViewCell
currentCell;
27020
DataGridViewCell
currentCell = CurrentCellInternal;
27410
DataGridViewCell
dataGridViewCell = _individualSelectedCells.HeadCell;
27475
DataGridViewCell
dataGridViewCell = Rows[rowIndex].Cells[columnIndex];
27492
DataGridViewCell
dataGridViewCellTmp;
27625
DataGridViewCell
dataGridViewCell = Rows[rowIndex].Cells[columnIndex];
27644
DataGridViewCell
dataGridViewCellTmp;
29973
DataGridViewCell
? dataGridViewCell = null;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
428
foreach (
DataGridViewCell
? dataGridViewCell in ((DataGridViewRow)this).Cells)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.cs (1)
13
public DataGridViewButtonCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
30
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (5)
61
/// Initializes a new instance of the <see cref="
DataGridViewCell
"/> class.
894
internal void CloneInternal(
DataGridViewCell
dataGridViewCell)
932
DataGridViewCell
dataGridViewCell = (
DataGridViewCell
)Activator.CreateInstance(GetType())!;
1276
ScaleHelper.GetIconResourceAsBitmap(typeof(
DataGridViewCell
), bitmapName, new Size(s_iconsWidth, s_iconsHeight));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (5)
18
private
DataGridViewCell
? _owner;
24
public DataGridViewCellAccessibleObject(
DataGridViewCell
? owner)
68
DataGridViewCell
dataGridViewCell = _owner;
91
public
DataGridViewCell
? Owner
267
DataGridViewCell
dataGridViewCell = _owner;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCancelEventArgs.cs (1)
10
internal DataGridViewCellCancelEventArgs(
DataGridViewCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (24)
10
/// Represents a collection of <see cref="
DataGridViewCell
"/> objects in the <see cref="DataGridView"/>
17
private readonly List<
DataGridViewCell
> _items = [];
20
int IList.Add(object? value) => Add((
DataGridViewCell
)value!);
28
void IList.Insert(int index, object? value) => Insert(index, (
DataGridViewCell
)value!);
30
void IList.Remove(object? value) => Remove((
DataGridViewCell
)value!);
41
set { this[index] = (
DataGridViewCell
)value!; }
65
public
DataGridViewCell
this[int index]
70
DataGridViewCell
dataGridViewCell = value.OrThrowIfNull();
84
DataGridViewCell
oldDataGridViewCell = _items[index];
113
public
DataGridViewCell
this[string columnName]
154
/// Adds a <see cref="
DataGridViewCell
"/> to this collection.
156
public virtual int Add(
DataGridViewCell
dataGridViewCell)
171
internal int AddInternal(
DataGridViewCell
dataGridViewCell)
188
public virtual void AddRange(params
DataGridViewCell
[] dataGridViewCells)
197
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewCells)
224
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewCells)
240
foreach (
DataGridViewCell
dataGridViewCell in _items)
249
public void CopyTo(
DataGridViewCell
[] array, int index)
257
public virtual bool Contains(
DataGridViewCell
dataGridViewCell)
263
public int IndexOf(
DataGridViewCell
dataGridViewCell) => _items.IndexOf(dataGridViewCell);
265
public virtual void Insert(int index,
DataGridViewCell
dataGridViewCell)
284
internal void InsertInternal(int index,
DataGridViewCell
dataGridViewCell)
303
public virtual void Remove(
DataGridViewCell
cell)
343
DataGridViewCell
dataGridViewCell = _items[index];
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
28
if (destinationType == typeof(InstanceDescriptor) && value is
DataGridViewCell
cell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellEventArgs.cs (1)
8
internal DataGridViewCellEventArgs(
DataGridViewCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (6)
9
/// Represents a linked list of <see cref="
DataGridViewCell
"/> objects
25
public
DataGridViewCell
this[int index]
61
public
DataGridViewCell
HeadCell
70
public void Add(
DataGridViewCell
dataGridViewCell)
96
public bool Contains(
DataGridViewCell
dataGridViewCell)
117
public bool Remove(
DataGridViewCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedListElement.cs (3)
11
private readonly
DataGridViewCell
_dataGridViewCell;
13
public DataGridViewCellLinkedListElement(
DataGridViewCell
dataGridViewCell)
19
public
DataGridViewCell
DataGridViewCell => _dataGridViewCell;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStateChangedEventArgs.cs (2)
8
public DataGridViewCellStateChangedEventArgs(
DataGridViewCell
dataGridViewCell, DataGridViewElementStates stateChanged)
14
public
DataGridViewCell
Cell { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
15
public DataGridViewCheckBoxCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
31
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (3)
49
public DataGridViewColumn(
DataGridViewCell
? cellTemplate)
159
public virtual
DataGridViewCell
? CellTemplate { get; set; }
831
dataGridViewColumn.CellTemplate = (
DataGridViewCell
?)CellTemplate?.Clone();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellAccessibleObject.cs (1)
15
public DataGridViewComboBoxCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
67
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
26
GetType() == typeof(DataGridViewRow) || GetType() == typeof(
DataGridViewCell
) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.DataGridViewImageCellAccessibleObject.cs (1)
13
public DataGridViewImageCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
38
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject.cs (1)
13
public DataGridViewLinkCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
78
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (12)
1080
DataGridViewCell
[] cells = new
DataGridViewCell
[cellsCount];
1083
DataGridViewCell
dataGridViewCell = rowTemplate.Cells[i];
1084
DataGridViewCell
dgvcNew = (
DataGridViewCell
)dataGridViewCell.Clone();
1117
DataGridViewCell
dgvcNew = (
DataGridViewCell
)dataGridViewColumn.CellTemplate.Clone();
1154
foreach (
DataGridViewCell
dataGridViewCell in Cells)
1312
foreach (
DataGridViewCell
dataGridViewCell in Cells)
1510
DataGridViewCell
cell;
1750
internal void SetReadOnlyCellCore(
DataGridViewCell
dataGridViewCell, bool readOnly)
1757
foreach (
DataGridViewCell
dataGridViewCellTmp in Cells)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
86
DataGridViewCell
? currentCell = _owningDataGridViewRow.DataGridView?.CurrentCell;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (16)
143
foreach (
DataGridViewCell
dataGridViewCell in newDataGridViewRow.Cells)
213
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
238
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
354
foreach (
DataGridViewCell
dataGridViewCell in rowTemplate.Cells)
420
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
678
foreach (
DataGridViewCell
dataGridViewCell in dgvcc)
750
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
1435
foreach (
DataGridViewCell
dataGridViewCell in rowTemplate.Cells)
1522
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
1717
foreach (
DataGridViewCell
dataGridViewCell in dgvcc)
1796
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewRow.Cells)
2181
foreach (
DataGridViewCell
cell in row.Cells)
2246
foreach (
DataGridViewCell
dataGridViewCell in cells)
2271
foreach (
DataGridViewCell
dataGridViewCell in cells)
2405
DataGridViewCell
dataGridViewCell1 = dataGridViewRow1.Cells[columnIndex];
2406
DataGridViewCell
dataGridViewCell2 = dataGridViewRow2.Cells[columnIndex];
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (10)
10
/// Represents a collection of selected <see cref="
DataGridViewCell
"/> objects in the <see cref="DataGridView"/>
16
private readonly List<
DataGridViewCell
> _items = [];
79
public
DataGridViewCell
this[int index]
88
/// Adds a <see cref="
DataGridViewCell
"/> to this collection.
90
internal int Add(
DataGridViewCell
dataGridViewCell)
97
/// Adds all the <see cref="
DataGridViewCell
"/> objects from the provided linked list to this collection.
102
foreach (
DataGridViewCell
dataGridViewCell in dataGridViewCells)
118
public bool Contains(
DataGridViewCell
dataGridViewCell) => ((IList)_items).Contains(dataGridViewCell);
120
public void CopyTo(
DataGridViewCell
[] array, int index) => _items.CopyTo(array, index);
123
public void Insert(int index,
DataGridViewCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
72
/// Adds a <see cref="
DataGridViewCell
"/> to this collection.
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (2)
10
/// Represents a collection of selected <see cref="
DataGridViewCell
"/> objects in the <see cref="DataGridView"/>
61
/// Adds a <see cref="
DataGridViewCell
"/> to this collection.
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.DataGridViewTextBoxCellAccessibleObject.cs (1)
13
public DataGridViewTextBoxCellAccessibleObject(
DataGridViewCell
? owner) : base(owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
21
public override
DataGridViewCell
? CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (7)
162
DataGridViewFreeDimension freeDimension =
DataGridViewCell
.GetFreeDimensionFromConstraint(constraintSize);
176
preferredWidth =
DataGridViewCell
.MeasureTextWidth(graphics, val, cellStyle.Font!, maxHeight, flags);
180
preferredWidth =
DataGridViewCell
.MeasureTextSize(graphics, val, cellStyle.Font!, flags).Width;
237
minHeightContent =
DataGridViewCell
.MeasureTextHeight(graphics, val, cellStyle.Font!, allowedWidth, flags);
241
minHeightContent =
DataGridViewCell
.MeasureTextSize(graphics, val, cellStyle.Font!, flags).Height;
264
preferredSize =
DataGridViewCell
.MeasureTextPreferredSize(graphics, val, cellStyle.Font!, 5.0F, flags);
268
preferredSize =
DataGridViewCell
.MeasureTextSize(graphics, val, cellStyle.Font!, flags);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
348
public DialogDataGridViewCellAccessibleObject(
DataGridViewCell
owner) : base(owner)