15 references to Formatter
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (3)
1616
formattedValue =
Formatter
.FormatObject(
3731
return
Formatter
.ParseObject(
3739
cellStyle.IsDataSourceNullValueDefault ?
Formatter
.GetDefaultDataSourceNullValue(valueType) : cellStyle.DataSourceNullValue);
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
555
return (string?)
Formatter
.FormatObject(
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2333
parseRetVal =
Formatter
.ParseObject(
2341
Formatter
.GetDefaultDataSourceNullValue(_validatingType));
System\Windows\Forms\DataBinding\Binding.cs (9)
39
private object? _dsNullValue =
Formatter
.GetDefaultDataSourceNullValue(null);
356
if (IsBinding &&
Formatter
.IsNullData(_bindToObject.GetValue(), _dsNullValue))
388
if (
Formatter
.IsNullData(dsValue, oldValue))
395
if (
Formatter
.IsNullData(dsValue, value))
580
_state.HasFlag(BindingStates.DataSourceNullValueSet) ? _dsNullValue :
Formatter
.GetDefaultDataSourceNullValue(type);
698
return
Formatter
.ParseObject(
772
return
Formatter
.FormatObject(value, type, fieldInfoConverter, _propInfoConverter, _formatString, _formatInfo, _nullValue, _dsNullValue);
1047
bool isNull = value is null ||
Formatter
.IsNullData(value, DataSourceNullValue);
1082
_state.HasFlag(BindingStates.DataSourceNullValueSet) && _dsNullValue !=
Formatter
.GetDefaultDataSourceNullValue(null);