32 references to BindingStates
System.Windows.Forms (32)
System\Windows\Forms\DataBinding\Binding.cs (32)
33
private
BindingStates
_state;
153
_state.ChangeFlags(
BindingStates
.FormattingEnabled, formattingEnabled);
295
get => _state.HasFlag(
BindingStates
.FormattingEnabled);
298
if (_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);
622
if (!_state.HasFlag(
BindingStates
.InOnBindingComplete))
626
_state.ChangeFlags(
BindingStates
.InOnBindingComplete, true);
642
_state.ChangeFlags(
BindingStates
.InOnBindingComplete, false);
651
if (!_state.HasFlag(
BindingStates
.FormattingEnabled) && cevent is not null)
664
if (!_state.HasFlag(
BindingStates
.FormattingEnabled) && cevent is not null)
677
if (_state.HasFlag(
BindingStates
.FormattingEnabled))
752
if (_state.HasFlag(
BindingStates
.FormattingEnabled))
852
if (_propInfo!.SupportsChangeEvents && !_state.HasFlag(
BindingStates
.Modified))
865
if (_state.HasFlag(
BindingStates
.InPushOrPull) && _state.HasFlag(
BindingStates
.FormattingEnabled))
870
_state.ChangeFlags(
BindingStates
.InPushOrPull, true);
927
_state.ChangeFlags(
BindingStates
.InPushOrPull, false);
943
_state.ChangeFlags(
BindingStates
.Modified, false);
952
_state.ChangeFlags(
BindingStates
.Modified, false);
976
if (_state.HasFlag(
BindingStates
.InPushOrPull) && _state.HasFlag(
BindingStates
.FormattingEnabled))
981
_state.ChangeFlags(
BindingStates
.InPushOrPull, true);
990
_state.ChangeFlags(
BindingStates
.Modified, false);
1004
_state.ChangeFlags(
BindingStates
.InPushOrPull, false);
1043
_state.ChangeFlags(
BindingStates
.InSetPropValue, true);
1073
_state.ChangeFlags(
BindingStates
.InSetPropValue, false);
1082
_state.HasFlag(
BindingStates
.DataSourceNullValueSet) && _dsNullValue != Formatter.GetDefaultDataSourceNullValue(null);
1086
if (_state.HasFlag(
BindingStates
.InSetPropValue))
1093
_state.ChangeFlags(
BindingStates
.Modified, true);
1102
_state.ChangeFlags(
BindingStates
.Modified, true);