28 references to TestFlag
PresentationFramework (28)
src\Framework\System\Windows\Data\Binding.cs (13)
276
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
280
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
295
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
299
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
314
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
318
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
360
return _ppath != null && !
TestFlag
(BindingFlags.PathGeneratedInternally);
434
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
438
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
454
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
458
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
473
return
TestFlag
(BindingFlags.NotifyOnValidationError);
477
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
src\Framework\System\Windows\Data\BindingBase.cs (3)
434
if (
TestFlag
(BindingFlags.ValidatesOnExceptions) && type == typeof(System.Windows.Controls.ExceptionValidationRule))
437
if (
TestFlag
(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.DataErrorValidationRule))
440
if (
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors) && type == typeof(System.Windows.Controls.NotifyDataErrorValidationRule))
src\Framework\System\Windows\Data\MultiBinding.cs (12)
159
return
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
163
bool currentValue =
TestFlag
(BindingFlags.NotifyOnSourceUpdated);
179
return
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
183
bool currentValue =
TestFlag
(BindingFlags.NotifyOnTargetUpdated);
198
return
TestFlag
(BindingFlags.NotifyOnValidationError);
202
bool currentValue =
TestFlag
(BindingFlags.NotifyOnValidationError);
288
return
TestFlag
(BindingFlags.ValidatesOnExceptions);
292
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnExceptions);
307
return
TestFlag
(BindingFlags.ValidatesOnDataErrors);
311
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnDataErrors);
326
return
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);
330
bool currentValue =
TestFlag
(BindingFlags.ValidatesOnNotifyDataErrors);