src\Framework\System\Windows\Data\BindingExpressionBase.cs (92)
52OneWay = PrivateFlags.iSourceToTarget,
53TwoWay = PrivateFlags.iSourceToTarget | PrivateFlags.iTargetToSource,
54OneWayToSource = PrivateFlags.iTargetToSource,
56PropDefault = PrivateFlags.iPropDefault,
57NotifyOnTargetUpdated = PrivateFlags.iNotifyOnTargetUpdated,
58NotifyOnSourceUpdated = PrivateFlags.iNotifyOnSourceUpdated,
59NotifyOnValidationError = PrivateFlags.iNotifyOnValidationError,
61UpdateOnLostFocus = PrivateFlags.iUpdateOnLostFocus,
62UpdateExplicitly = PrivateFlags.iUpdateExplicitly,
63UpdateDefault = PrivateFlags.iUpdateDefault,
64PathGeneratedInternally = PrivateFlags.iPathGeneratedInternally,
65ValidatesOnExceptions = PrivateFlags.iValidatesOnExceptions,
66ValidatesOnDataErrors = PrivateFlags.iValidatesOnDataErrors,
67ValidatesOnNotifyDataErrors = PrivateFlags.iValidatesOnNotifyDataErrors,
72IllegalInput = PrivateFlags.iIllegalInput,
142_flags = (PrivateFlags)binding.Flags;
150ChangeFlag(PrivateFlags.iInMultiBindingExpression, true);
152ChangeFlag(PrivateFlags.iInPriorityBindingExpression, true);
185ChangeFlag(PrivateFlags.iValidatesOnExceptions, true);
190ChangeFlag(PrivateFlags.iValidatesOnDataErrors, true);
571get { return TestFlag(PrivateFlags.iAttaching); }
572set { ChangeFlag(PrivateFlags.iAttaching, value); }
578get { return TestFlag(PrivateFlags.iDetaching); }
579set { ChangeFlag(PrivateFlags.iDetaching, value); }
600return ( TestFlag(PrivateFlags.iSourceToTarget)
610return ( TestFlag(PrivateFlags.iTargetToSource)
613set { ChangeFlag(PrivateFlags.iTargetToSource, value); }
619get { return TestFlag(PrivateFlags.iDefaultValueConverter); }
620set { ChangeFlag(PrivateFlags.iDefaultValueConverter, value); }
626get { return (_flags & PrivateFlags.iPropagationMask) == PrivateFlags.iTargetToSource; }
632get { return (_flags & PrivateFlags.iUpdateMask) == 0; }
638get { return TestFlag(PrivateFlags.iUpdateOnLostFocus); }
644get { return TestFlag(PrivateFlags.iTransferPending); }
645set { ChangeFlag(PrivateFlags.iTransferPending, value); }
651get { return TestFlag(PrivateFlags.iTransferDeferred); }
652set { ChangeFlag(PrivateFlags.iTransferDeferred, value); }
658get { return TestFlag(PrivateFlags.iInTransfer); }
659set { ChangeFlag(PrivateFlags.iInTransfer, value); }
665get { return TestFlag(PrivateFlags.iInUpdate); }
666set { ChangeFlag(PrivateFlags.iInUpdate, value); }
672get { return TestFlag(PrivateFlags.iUsingFallbackValue); }
673set { ChangeFlag(PrivateFlags.iUsingFallbackValue, value); }
679get { return TestFlag(PrivateFlags.iUsingMentor); }
680set { ChangeFlag(PrivateFlags.iUsingMentor, value); }
686get { return TestFlag(PrivateFlags.iResolveNamesInTemplate); }
687set { ChangeFlag(PrivateFlags.iResolveNamesInTemplate, value); }
693get { return TestFlag(PrivateFlags.iNeedDataTransfer); }
694set { ChangeFlag(PrivateFlags.iNeedDataTransfer, value); }
700get { return TestFlag(PrivateFlags.iNeedsUpdate); }
703ChangeFlag(PrivateFlags.iNeedsUpdate, value);
714get { return TestFlag(PrivateFlags.iNeedsValidation) || HasValue(Feature.ValidationError); }
715set { ChangeFlag(PrivateFlags.iNeedsValidation, value); }
721get { return TestFlag(PrivateFlags.iNotifyOnTargetUpdated); }
722set { ChangeFlag(PrivateFlags.iNotifyOnTargetUpdated, value); }
728get { return TestFlag(PrivateFlags.iNotifyOnSourceUpdated); }
729set { ChangeFlag(PrivateFlags.iNotifyOnSourceUpdated, value); }
735get { return TestFlag(PrivateFlags.iNotifyOnValidationError); }
736set { ChangeFlag(PrivateFlags.iNotifyOnValidationError, value); }
742get { return TestFlag(PrivateFlags.iInPriorityBindingExpression); }
748get { return TestFlag(PrivateFlags.iInMultiBindingExpression); }
754get { return TestFlag(PrivateFlags.iInPriorityBindingExpression | PrivateFlags.iInMultiBindingExpression); }
760get { return TestFlag(PrivateFlags.iValidatesOnExceptions); }
766get { return TestFlag(PrivateFlags.iValidatesOnDataErrors); }
772get { return TestFlag(PrivateFlags.iTargetWantsXTNotification); }
773set { ChangeFlag(PrivateFlags.iTargetWantsXTNotification, value); }
779get { return TestFlag(PrivateFlags.iDataErrorsChangedPending); }
780set { ChangeFlag(PrivateFlags.iDataErrorsChangedPending, value); }
786get { return TestFlag(PrivateFlags.iDeferUpdateForComposition); }
787set { ChangeFlag(PrivateFlags.iDeferUpdateForComposition, value); }
793get { return TestFlag(PrivateFlags.iValidatesOnNotifyDataErrors); }
1311ChangeFlag(PrivateFlags.iInUpdate, true);
1347ChangeFlag(PrivateFlags.iInUpdate | PrivateFlags.iNeedsUpdate, false);
1912PrivateFlags newFlags = (bb != null) ? bb._flags : (PrivateFlags)0x0;
1913_flags = (_flags & ~PrivateFlags.iAdoptionMask) | (newFlags & PrivateFlags.iAdoptionMask);
1931private bool TestFlag(PrivateFlags flag)
1936private void ChangeFlag(PrivateFlags flag, bool value)
2519ChangeFlag(PrivateFlags.iPropagationMask, false);
2520ChangeFlag((PrivateFlags)f, true);
2531Debug.Assert((_flags & PrivateFlags.iPropagationMask) != PrivateFlags.iPropDefault,
2550Invariant.Assert((_flags & PrivateFlags.iUpdateMask) != PrivateFlags.iUpdateDefault,
2566ChangeFlag(PrivateFlags.iUpdateMask, false);
2567ChangeFlag((PrivateFlags)BindingBase.FlagsFrom(ust), true);
2757ChangeFlag(PrivateFlags.iValidatesOnNotifyDataErrors, result);
2943PrivateFlags _flags;