System\Windows\Forms\DataBinding\Binding.cs (31)
153_state.ChangeFlags(BindingStates.FormattingEnabled, formattingEnabled);
295get => _state.HasFlag(BindingStates.FormattingEnabled);
298if (_state.HasFlag(BindingStates.FormattingEnabled) != value)
300_state.ChangeFlags(BindingStates.FormattingEnabled, value);
378_state.ChangeFlags(BindingStates.DataSourceNullValueSet, true);
580_state.HasFlag(BindingStates.DataSourceNullValueSet) ? _dsNullValue : Formatter.GetDefaultDataSourceNullValue(type);
622if (!_state.HasFlag(BindingStates.InOnBindingComplete))
626_state.ChangeFlags(BindingStates.InOnBindingComplete, true);
639_state.ChangeFlags(BindingStates.InOnBindingComplete, false);
648if (!_state.HasFlag(BindingStates.FormattingEnabled) && cevent is not null)
661if (!_state.HasFlag(BindingStates.FormattingEnabled) && cevent is not null)
674if (_state.HasFlag(BindingStates.FormattingEnabled))
749if (_state.HasFlag(BindingStates.FormattingEnabled))
849if (_propInfo!.SupportsChangeEvents && !_state.HasFlag(BindingStates.Modified))
862if (_state.HasFlag(BindingStates.InPushOrPull) && _state.HasFlag(BindingStates.FormattingEnabled))
867_state.ChangeFlags(BindingStates.InPushOrPull, true);
924_state.ChangeFlags(BindingStates.InPushOrPull, false);
940_state.ChangeFlags(BindingStates.Modified, false);
949_state.ChangeFlags(BindingStates.Modified, false);
973if (_state.HasFlag(BindingStates.InPushOrPull) && _state.HasFlag(BindingStates.FormattingEnabled))
978_state.ChangeFlags(BindingStates.InPushOrPull, true);
987_state.ChangeFlags(BindingStates.Modified, false);
1001_state.ChangeFlags(BindingStates.InPushOrPull, false);
1040_state.ChangeFlags(BindingStates.InSetPropValue, true);
1070_state.ChangeFlags(BindingStates.InSetPropValue, false);
1079_state.HasFlag(BindingStates.DataSourceNullValueSet) && _dsNullValue != Formatter.GetDefaultDataSourceNullValue(null);
1083if (_state.HasFlag(BindingStates.InSetPropValue))
1090_state.ChangeFlags(BindingStates.Modified, true);
1099_state.ChangeFlags(BindingStates.Modified, true);