28 references to TestFlag
PresentationFramework (28)
System\Windows\Data\Binding.cs (13)
245
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
249
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
264
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
268
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
283
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
287
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
330
return _ppath != null && !
TestFlag
(BindingFlags.PathGeneratedInternally);
404
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
408
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
424
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
428
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
443
return
TestFlag
(BindingFlags.NotifyOnValidationError);
447
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
System\Windows\Data\BindingBase.cs (3)
429
if (
TestFlag
(BindingFlags.ValidatesOnExceptions) && type == typeof(System.Windows.Controls.ExceptionValidationRule))
432
if (
TestFlag
(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.DataErrorValidationRule))
435
if (
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors) && type == typeof(System.Windows.Controls.NotifyDataErrorValidationRule))
System\Windows\Data\MultiBinding.cs (12)
150
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
154
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
170
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
174
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
189
return
TestFlag
(BindingFlags.NotifyOnValidationError);
193
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
278
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
282
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
297
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
301
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
316
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
320
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);