28 references to TestFlag
PresentationFramework (28)
System\Windows\Data\Binding.cs (13)
244return TestFlag(BindingFlags.ValidatesOnExceptions); 248bool currentValue = TestFlag(BindingFlags.ValidatesOnExceptions); 263return TestFlag(BindingFlags.ValidatesOnDataErrors); 267bool currentValue = TestFlag(BindingFlags.ValidatesOnDataErrors); 282return TestFlag(BindingFlags.ValidatesOnNotifyDataErrors); 286bool currentValue = TestFlag(BindingFlags.ValidatesOnNotifyDataErrors); 329return _ppath != null && !TestFlag(BindingFlags.PathGeneratedInternally); 403return TestFlag(BindingFlags.NotifyOnSourceUpdated); 407bool currentValue = TestFlag(BindingFlags.NotifyOnSourceUpdated); 423return TestFlag(BindingFlags.NotifyOnTargetUpdated); 427bool currentValue = TestFlag(BindingFlags.NotifyOnTargetUpdated); 442return TestFlag(BindingFlags.NotifyOnValidationError); 446bool currentValue = TestFlag(BindingFlags.NotifyOnValidationError);
System\Windows\Data\BindingBase.cs (3)
428if (TestFlag(BindingFlags.ValidatesOnExceptions) && type == typeof(System.Windows.Controls.ExceptionValidationRule)) 431if (TestFlag(BindingFlags.ValidatesOnDataErrors) && type == typeof(System.Windows.Controls.DataErrorValidationRule)) 434if (TestFlag(BindingFlags.ValidatesOnNotifyDataErrors) && type == typeof(System.Windows.Controls.NotifyDataErrorValidationRule))
System\Windows\Data\MultiBinding.cs (12)
149return TestFlag(BindingFlags.NotifyOnSourceUpdated); 153bool currentValue = TestFlag(BindingFlags.NotifyOnSourceUpdated); 169return TestFlag(BindingFlags.NotifyOnTargetUpdated); 173bool currentValue = TestFlag(BindingFlags.NotifyOnTargetUpdated); 188return TestFlag(BindingFlags.NotifyOnValidationError); 192bool currentValue = TestFlag(BindingFlags.NotifyOnValidationError); 277return TestFlag(BindingFlags.ValidatesOnExceptions); 281bool currentValue = TestFlag(BindingFlags.ValidatesOnExceptions); 296return TestFlag(BindingFlags.ValidatesOnDataErrors); 300bool currentValue = TestFlag(BindingFlags.ValidatesOnDataErrors); 315return TestFlag(BindingFlags.ValidatesOnNotifyDataErrors); 319bool currentValue = TestFlag(BindingFlags.ValidatesOnNotifyDataErrors);