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