7 overrides of FormattedValueType
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
84public override Type FormattedValueType =>
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
259public override Type FormattedValueType => ThreeState ? s_defaultCheckStateType : s_defaultBooleanType;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
368public override Type FormattedValueType => s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
84public override Type FormattedValueType => s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
80public override Type FormattedValueType
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
112public override Type? FormattedValueType => s_defaultFormattedValueType;
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
55public override Type FormattedValueType
18 references to FormattedValueType
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
25292|| (dataGridViewCurrentCell.FormattedValueType is not null && dataGridViewCurrentCell.FormattedValueType.IsAssignableFrom(nullValue.GetType())))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (16)
234if (FormattedValueType is not null) 238formattedValueTypeConverter = DataGridView.GetCachedTypeConverter(FormattedValueType); 242formattedValueTypeConverter = TypeDescriptor.GetConverter(FormattedValueType); 1592FormattedValueType, 1600FormattedValueType is not null && 1601(formattedValue is null || !FormattedValueType.IsAssignableFrom(formattedValue.GetType()))) 1607FormattedValueType, 1634(formattedValue is null || FormattedValueType is null || !FormattedValueType.IsAssignableFrom(formattedValue.GetType()))) 1638FormattedValueType is not null && 1639!typeof(ValueType).IsAssignableFrom(FormattedValueType)) 1646if (FormattedValueType is null) 2712if (FormattedValueType == s_stringType) 3708if (FormattedValueType is null) 3719!FormattedValueType.IsAssignableFrom(formattedValue.GetType())) 3727FormattedValueType,