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