System\Windows\Data\BindingExpressionBase.cs (92)
40OneWay = PrivateFlags.iSourceToTarget,
41TwoWay = PrivateFlags.iSourceToTarget | PrivateFlags.iTargetToSource,
42OneWayToSource = PrivateFlags.iTargetToSource,
44PropDefault = PrivateFlags.iPropDefault,
45NotifyOnTargetUpdated = PrivateFlags.iNotifyOnTargetUpdated,
46NotifyOnSourceUpdated = PrivateFlags.iNotifyOnSourceUpdated,
47NotifyOnValidationError = PrivateFlags.iNotifyOnValidationError,
49UpdateOnLostFocus = PrivateFlags.iUpdateOnLostFocus,
50UpdateExplicitly = PrivateFlags.iUpdateExplicitly,
51UpdateDefault = PrivateFlags.iUpdateDefault,
52PathGeneratedInternally = PrivateFlags.iPathGeneratedInternally,
53ValidatesOnExceptions = PrivateFlags.iValidatesOnExceptions,
54ValidatesOnDataErrors = PrivateFlags.iValidatesOnDataErrors,
55ValidatesOnNotifyDataErrors = PrivateFlags.iValidatesOnNotifyDataErrors,
60IllegalInput = PrivateFlags.iIllegalInput,
129_flags = (PrivateFlags)binding.Flags;
137ChangeFlag(PrivateFlags.iInMultiBindingExpression, true);
139ChangeFlag(PrivateFlags.iInPriorityBindingExpression, true);
174ChangeFlag(PrivateFlags.iValidatesOnExceptions, true);
179ChangeFlag(PrivateFlags.iValidatesOnDataErrors, true);
557get { return TestFlag(PrivateFlags.iAttaching); }
558set { ChangeFlag(PrivateFlags.iAttaching, value); }
564get { return TestFlag(PrivateFlags.iDetaching); }
565set { ChangeFlag(PrivateFlags.iDetaching, value); }
586return ( TestFlag(PrivateFlags.iSourceToTarget)
596return ( TestFlag(PrivateFlags.iTargetToSource)
599set { ChangeFlag(PrivateFlags.iTargetToSource, value); }
605get { return TestFlag(PrivateFlags.iDefaultValueConverter); }
606set { ChangeFlag(PrivateFlags.iDefaultValueConverter, value); }
612get { return (_flags & PrivateFlags.iPropagationMask) == PrivateFlags.iTargetToSource; }
618get { return (_flags & PrivateFlags.iUpdateMask) == 0; }
624get { return TestFlag(PrivateFlags.iUpdateOnLostFocus); }
630get { return TestFlag(PrivateFlags.iTransferPending); }
631set { ChangeFlag(PrivateFlags.iTransferPending, value); }
637get { return TestFlag(PrivateFlags.iTransferDeferred); }
638set { ChangeFlag(PrivateFlags.iTransferDeferred, value); }
644get { return TestFlag(PrivateFlags.iInTransfer); }
645set { ChangeFlag(PrivateFlags.iInTransfer, value); }
651get { return TestFlag(PrivateFlags.iInUpdate); }
652set { ChangeFlag(PrivateFlags.iInUpdate, value); }
658get { return TestFlag(PrivateFlags.iUsingFallbackValue); }
659set { ChangeFlag(PrivateFlags.iUsingFallbackValue, value); }
665get { return TestFlag(PrivateFlags.iUsingMentor); }
666set { ChangeFlag(PrivateFlags.iUsingMentor, value); }
672get { return TestFlag(PrivateFlags.iResolveNamesInTemplate); }
673set { ChangeFlag(PrivateFlags.iResolveNamesInTemplate, value); }
679get { return TestFlag(PrivateFlags.iNeedDataTransfer); }
680set { ChangeFlag(PrivateFlags.iNeedDataTransfer, value); }
686get { return TestFlag(PrivateFlags.iNeedsUpdate); }
689ChangeFlag(PrivateFlags.iNeedsUpdate, value);
700get { return TestFlag(PrivateFlags.iNeedsValidation) || HasValue(Feature.ValidationError); }
701set { ChangeFlag(PrivateFlags.iNeedsValidation, value); }
707get { return TestFlag(PrivateFlags.iNotifyOnTargetUpdated); }
708set { ChangeFlag(PrivateFlags.iNotifyOnTargetUpdated, value); }
714get { return TestFlag(PrivateFlags.iNotifyOnSourceUpdated); }
715set { ChangeFlag(PrivateFlags.iNotifyOnSourceUpdated, value); }
721get { return TestFlag(PrivateFlags.iNotifyOnValidationError); }
722set { ChangeFlag(PrivateFlags.iNotifyOnValidationError, value); }
728get { return TestFlag(PrivateFlags.iInPriorityBindingExpression); }
734get { return TestFlag(PrivateFlags.iInMultiBindingExpression); }
740get { return TestFlag(PrivateFlags.iInPriorityBindingExpression | PrivateFlags.iInMultiBindingExpression); }
746get { return TestFlag(PrivateFlags.iValidatesOnExceptions); }
752get { return TestFlag(PrivateFlags.iValidatesOnDataErrors); }
758get { return TestFlag(PrivateFlags.iTargetWantsXTNotification); }
759set { ChangeFlag(PrivateFlags.iTargetWantsXTNotification, value); }
765get { return TestFlag(PrivateFlags.iDataErrorsChangedPending); }
766set { ChangeFlag(PrivateFlags.iDataErrorsChangedPending, value); }
772get { return TestFlag(PrivateFlags.iDeferUpdateForComposition); }
773set { ChangeFlag(PrivateFlags.iDeferUpdateForComposition, value); }
779get { return TestFlag(PrivateFlags.iValidatesOnNotifyDataErrors); }
1301ChangeFlag(PrivateFlags.iInUpdate, true);
1337ChangeFlag(PrivateFlags.iInUpdate | PrivateFlags.iNeedsUpdate, false);
1913PrivateFlags newFlags = (bb != null) ? bb._flags : (PrivateFlags)0x0;
1914_flags = (_flags & ~PrivateFlags.iAdoptionMask) | (newFlags & PrivateFlags.iAdoptionMask);
1932private bool TestFlag(PrivateFlags flag)
1937private void ChangeFlag(PrivateFlags flag, bool value)
2510ChangeFlag(PrivateFlags.iPropagationMask, false);
2511ChangeFlag((PrivateFlags)f, true);
2523Debug.Assert((_flags & PrivateFlags.iPropagationMask) != PrivateFlags.iPropDefault,
2543Invariant.Assert((_flags & PrivateFlags.iUpdateMask) != PrivateFlags.iUpdateDefault,
2559ChangeFlag(PrivateFlags.iUpdateMask, false);
2560ChangeFlag((PrivateFlags)BindingBase.FlagsFrom(ust), true);
2750ChangeFlag(PrivateFlags.iValidatesOnNotifyDataErrors, result);
2936PrivateFlags _flags;