23 references to ControlUpdateMode
System.Windows.Forms (8)
System\Windows\Forms\DataBinding\Binding.cs (8)
44
private
ControlUpdateMode
_controlUpdateMode =
ControlUpdateMode
.OnPropertyChanged;
405
[DefaultValue(
ControlUpdateMode
.OnPropertyChanged)]
406
public
ControlUpdateMode
ControlUpdateMode
531
if (tempPropInfo.IsReadOnly && _controlUpdateMode !=
ControlUpdateMode
.Never)
831
if (ControlUpdateMode ==
ControlUpdateMode
.Never)
970
if (!force && ControlUpdateMode ==
ControlUpdateMode
.Never)
1148
if (_controlUpdateMode ==
ControlUpdateMode
.Never)
System.Windows.Forms.Tests (15)
System\Windows\Forms\BindingTests.cs (15)
29
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
58
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
87
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
116
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
145
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
174
Assert.Equal(
ControlUpdateMode
.OnPropertyChanged, binding.ControlUpdateMode);
209
[EnumData<
ControlUpdateMode
>]
210
[InvalidEnumData<
ControlUpdateMode
>]
211
public void Binding_ControlUpdateMode_Set_GetReturnsExpected(
ControlUpdateMode
value)
548
foreach (
ControlUpdateMode
controlUpdateMode in Enum.GetValues(typeof(
ControlUpdateMode
)))
557
public void Binding_ReadValue_Invoke_CallsBindingCompleteIfFormattingEnabled(
ControlUpdateMode
controlUpdateMode, bool formattingEnabled, int expectedCallCount)
594
foreach (
ControlUpdateMode
controlUpdateMode in Enum.GetValues(typeof(
ControlUpdateMode
)))
603
public void Binding_WriteValue_Invoke_DoesNotCallBindingComplete(
ControlUpdateMode
controlUpdateMode, bool formattingEnabled)