System\Windows\Data\BindingExpressionBase.cs (92)
48OneWay = PrivateFlags.iSourceToTarget,
49TwoWay = PrivateFlags.iSourceToTarget | PrivateFlags.iTargetToSource,
50OneWayToSource = PrivateFlags.iTargetToSource,
52PropDefault = PrivateFlags.iPropDefault,
53NotifyOnTargetUpdated = PrivateFlags.iNotifyOnTargetUpdated,
54NotifyOnSourceUpdated = PrivateFlags.iNotifyOnSourceUpdated,
55NotifyOnValidationError = PrivateFlags.iNotifyOnValidationError,
57UpdateOnLostFocus = PrivateFlags.iUpdateOnLostFocus,
58UpdateExplicitly = PrivateFlags.iUpdateExplicitly,
59UpdateDefault = PrivateFlags.iUpdateDefault,
60PathGeneratedInternally = PrivateFlags.iPathGeneratedInternally,
61ValidatesOnExceptions = PrivateFlags.iValidatesOnExceptions,
62ValidatesOnDataErrors = PrivateFlags.iValidatesOnDataErrors,
63ValidatesOnNotifyDataErrors = PrivateFlags.iValidatesOnNotifyDataErrors,
68IllegalInput = PrivateFlags.iIllegalInput,
137_flags = (PrivateFlags)binding.Flags;
145ChangeFlag(PrivateFlags.iInMultiBindingExpression, true);
147ChangeFlag(PrivateFlags.iInPriorityBindingExpression, true);
182ChangeFlag(PrivateFlags.iValidatesOnExceptions, true);
187ChangeFlag(PrivateFlags.iValidatesOnDataErrors, true);
565get { return TestFlag(PrivateFlags.iAttaching); }
566set { ChangeFlag(PrivateFlags.iAttaching, value); }
572get { return TestFlag(PrivateFlags.iDetaching); }
573set { ChangeFlag(PrivateFlags.iDetaching, value); }
594return ( TestFlag(PrivateFlags.iSourceToTarget)
604return ( TestFlag(PrivateFlags.iTargetToSource)
607set { ChangeFlag(PrivateFlags.iTargetToSource, value); }
613get { return TestFlag(PrivateFlags.iDefaultValueConverter); }
614set { ChangeFlag(PrivateFlags.iDefaultValueConverter, value); }
620get { return (_flags & PrivateFlags.iPropagationMask) == PrivateFlags.iTargetToSource; }
626get { return (_flags & PrivateFlags.iUpdateMask) == 0; }
632get { return TestFlag(PrivateFlags.iUpdateOnLostFocus); }
638get { return TestFlag(PrivateFlags.iTransferPending); }
639set { ChangeFlag(PrivateFlags.iTransferPending, value); }
645get { return TestFlag(PrivateFlags.iTransferDeferred); }
646set { ChangeFlag(PrivateFlags.iTransferDeferred, value); }
652get { return TestFlag(PrivateFlags.iInTransfer); }
653set { ChangeFlag(PrivateFlags.iInTransfer, value); }
659get { return TestFlag(PrivateFlags.iInUpdate); }
660set { ChangeFlag(PrivateFlags.iInUpdate, value); }
666get { return TestFlag(PrivateFlags.iUsingFallbackValue); }
667set { ChangeFlag(PrivateFlags.iUsingFallbackValue, value); }
673get { return TestFlag(PrivateFlags.iUsingMentor); }
674set { ChangeFlag(PrivateFlags.iUsingMentor, value); }
680get { return TestFlag(PrivateFlags.iResolveNamesInTemplate); }
681set { ChangeFlag(PrivateFlags.iResolveNamesInTemplate, value); }
687get { return TestFlag(PrivateFlags.iNeedDataTransfer); }
688set { ChangeFlag(PrivateFlags.iNeedDataTransfer, value); }
694get { return TestFlag(PrivateFlags.iNeedsUpdate); }
697ChangeFlag(PrivateFlags.iNeedsUpdate, value);
708get { return TestFlag(PrivateFlags.iNeedsValidation) || HasValue(Feature.ValidationError); }
709set { ChangeFlag(PrivateFlags.iNeedsValidation, value); }
715get { return TestFlag(PrivateFlags.iNotifyOnTargetUpdated); }
716set { ChangeFlag(PrivateFlags.iNotifyOnTargetUpdated, value); }
722get { return TestFlag(PrivateFlags.iNotifyOnSourceUpdated); }
723set { ChangeFlag(PrivateFlags.iNotifyOnSourceUpdated, value); }
729get { return TestFlag(PrivateFlags.iNotifyOnValidationError); }
730set { ChangeFlag(PrivateFlags.iNotifyOnValidationError, value); }
736get { return TestFlag(PrivateFlags.iInPriorityBindingExpression); }
742get { return TestFlag(PrivateFlags.iInMultiBindingExpression); }
748get { return TestFlag(PrivateFlags.iInPriorityBindingExpression | PrivateFlags.iInMultiBindingExpression); }
754get { return TestFlag(PrivateFlags.iValidatesOnExceptions); }
760get { return TestFlag(PrivateFlags.iValidatesOnDataErrors); }
766get { return TestFlag(PrivateFlags.iTargetWantsXTNotification); }
767set { ChangeFlag(PrivateFlags.iTargetWantsXTNotification, value); }
773get { return TestFlag(PrivateFlags.iDataErrorsChangedPending); }
774set { ChangeFlag(PrivateFlags.iDataErrorsChangedPending, value); }
780get { return TestFlag(PrivateFlags.iDeferUpdateForComposition); }
781set { ChangeFlag(PrivateFlags.iDeferUpdateForComposition, value); }
787get { return TestFlag(PrivateFlags.iValidatesOnNotifyDataErrors); }
1309ChangeFlag(PrivateFlags.iInUpdate, true);
1345ChangeFlag(PrivateFlags.iInUpdate | PrivateFlags.iNeedsUpdate, false);
1921PrivateFlags newFlags = (bb != null) ? bb._flags : (PrivateFlags)0x0;
1922_flags = (_flags & ~PrivateFlags.iAdoptionMask) | (newFlags & PrivateFlags.iAdoptionMask);
1940private bool TestFlag(PrivateFlags flag)
1945private void ChangeFlag(PrivateFlags flag, bool value)
2518ChangeFlag(PrivateFlags.iPropagationMask, false);
2519ChangeFlag((PrivateFlags)f, true);
2531Debug.Assert((_flags & PrivateFlags.iPropagationMask) != PrivateFlags.iPropDefault,
2551Invariant.Assert((_flags & PrivateFlags.iUpdateMask) != PrivateFlags.iUpdateDefault,
2567ChangeFlag(PrivateFlags.iUpdateMask, false);
2568ChangeFlag((PrivateFlags)BindingBase.FlagsFrom(ust), true);
2758ChangeFlag(PrivateFlags.iValidatesOnNotifyDataErrors, result);
2944PrivateFlags _flags;