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