28 references to TestFlag
PresentationFramework (28)
System\Windows\Data\Binding.cs (13)
270
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
274
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
289
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
293
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
308
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
312
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
355
return _ppath != null && !
TestFlag
(BindingFlags.PathGeneratedInternally);
429
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
433
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
449
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
453
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
468
return
TestFlag
(BindingFlags.NotifyOnValidationError);
472
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
System\Windows\Data\BindingBase.cs (3)
431
if (
TestFlag
(BindingFlags.ValidatesOnExceptions) && type == typeof(System.Windows.Controls.ExceptionValidationRule))
434
if (
TestFlag
(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.DataErrorValidationRule))
437
if (
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors) && type == typeof(System.Windows.Controls.NotifyDataErrorValidationRule))
System\Windows\Data\MultiBinding.cs (12)
155
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
159
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
175
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
179
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
194
return
TestFlag
(BindingFlags.NotifyOnValidationError);
198
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
283
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
287
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
302
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
306
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
321
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
325
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);