7 overrides of FormattedValueType
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
84
public override Type
FormattedValueType
=>
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
259
public override Type
FormattedValueType
=> ThreeState ? s_defaultCheckStateType : s_defaultBooleanType;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
368
public override Type
FormattedValueType
=> s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
84
public override Type
FormattedValueType
=> s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
80
public override Type
FormattedValueType
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
116
public override Type?
FormattedValueType
=> s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
55
public override Type
FormattedValueType
18 references to FormattedValueType
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
25365
|| (dataGridViewCurrentCell.
FormattedValueType
is not null && dataGridViewCurrentCell.
FormattedValueType
.IsAssignableFrom(nullValue.GetType())))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (16)
234
if (
FormattedValueType
is not null)
238
formattedValueTypeConverter = DataGridView.GetCachedTypeConverter(
FormattedValueType
);
242
formattedValueTypeConverter = TypeDescriptor.GetConverter(
FormattedValueType
);
1604
FormattedValueType
,
1612
FormattedValueType
is not null &&
1613
(formattedValue is null || !
FormattedValueType
.IsAssignableFrom(formattedValue.GetType())))
1619
FormattedValueType
,
1646
(formattedValue is null ||
FormattedValueType
is null || !
FormattedValueType
.IsAssignableFrom(formattedValue.GetType())))
1650
FormattedValueType
is not null &&
1651
!typeof(ValueType).IsAssignableFrom(
FormattedValueType
))
1658
if (
FormattedValueType
is null)
2724
if (
FormattedValueType
== s_stringType)
3720
if (
FormattedValueType
is null)
3731
!
FormattedValueType
.IsAssignableFrom(formattedValue.GetType()))
3739
FormattedValueType
,