8 writes to FormattingEnabled
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
121
b.
FormattingEnabled
= true;
System.Windows.Forms.Tests (7)
System\Windows\Forms\BindingTests.cs (7)
282
FormattingEnabled
= value
287
binding.
FormattingEnabled
= value;
291
binding.
FormattingEnabled
= !value;
462
FormattingEnabled
= formattingEnabled
507
FormattingEnabled
= formattingEnabled
562
FormattingEnabled
= formattingEnabled
608
FormattingEnabled
= formattingEnabled
22 references to FormattingEnabled
System.Windows.Forms (7)
System\Windows\Forms\DataBinding\Binding.cs (7)
890
if (lastException is not null || (!
FormattingEnabled
&& parsedValue is null))
899
if (
FormattingEnabled
&& parseFailed)
907
if (force || !
FormattingEnabled
|| !Equals(formattedObject, value))
920
catch (Exception ex) when (
FormattingEnabled
)
930
if (
FormattingEnabled
)
997
catch (Exception ex) when (
FormattingEnabled
)
1007
if (
FormattingEnabled
)
System.Windows.Forms.Tests (15)
System\Windows\Forms\BindingTests.cs (9)
35
Assert.False(binding.
FormattingEnabled
);
64
Assert.Equal(formattingEnabled, binding.
FormattingEnabled
);
93
Assert.Equal(formattingEnabled, binding.
FormattingEnabled
);
122
Assert.Equal(formattingEnabled, binding.
FormattingEnabled
);
151
Assert.Equal(formattingEnabled, binding.
FormattingEnabled
);
180
Assert.Equal(formattingEnabled, binding.
FormattingEnabled
);
284
Assert.Equal(value, binding.
FormattingEnabled
);
288
Assert.Equal(value, binding.
FormattingEnabled
);
292
Assert.Equal(!value, binding.
FormattingEnabled
);
System\Windows\Forms\ControlBindingsCollectionTests.cs (6)
131
Assert.False(binding.
FormattingEnabled
);
148
Assert.True(binding.
FormattingEnabled
);
165
Assert.True(binding.
FormattingEnabled
);
182
Assert.True(binding.
FormattingEnabled
);
199
Assert.True(binding.
FormattingEnabled
);
216
Assert.True(binding.
FormattingEnabled
);