31 references to _state
System.Windows.Forms (31)
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); 642_state.ChangeFlags(BindingStates.InOnBindingComplete, false); 651if (!_state.HasFlag(BindingStates.FormattingEnabled) && cevent is not null) 664if (!_state.HasFlag(BindingStates.FormattingEnabled) && cevent is not null) 677if (_state.HasFlag(BindingStates.FormattingEnabled)) 752if (_state.HasFlag(BindingStates.FormattingEnabled)) 852if (_propInfo!.SupportsChangeEvents && !_state.HasFlag(BindingStates.Modified)) 865if (_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); 976if (_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); 1086if (_state.HasFlag(BindingStates.InSetPropValue)) 1093_state.ChangeFlags(BindingStates.Modified, true); 1102_state.ChangeFlags(BindingStates.Modified, true);