95 references to ParentBindingExpression
PresentationFramework (95)
MS\Internal\Data\BindingWorker.cs (12)
78protected Binding ParentBinding { get { return ParentBindingExpression.ParentBinding; } } 80protected bool IsDynamic { get { return ParentBindingExpression.IsDynamic; } } 81internal bool IsReflective { get { return ParentBindingExpression.IsReflective; } } 82protected bool IgnoreSourcePropertyChange { get { return ParentBindingExpression.IgnoreSourcePropertyChange; } } 83protected object DataItem { get { return ParentBindingExpression.DataItem; } } 84protected DependencyObject TargetElement { get { return ParentBindingExpression.TargetElement; } } 85protected DependencyProperty TargetProperty { get { return ParentBindingExpression.TargetProperty; } } 86protected DataBindEngine Engine { get { return ParentBindingExpression.Engine; } } 87protected Dispatcher Dispatcher { get { return ParentBindingExpression.Dispatcher; } } 91get { return ParentBindingExpression.StatusInternal; } 92set { ParentBindingExpression.SetStatus(value); } 103ParentBindingExpression.IsTransferPending = value;
MS\Internal\Data\ClrBindingWorker.cs (27)
57_pathWorker.SetTreeContext(ParentBindingExpression.TargetElementReference); 201ParentBindingExpression.SetupDefaultValueConverter(item.GetType()); 297get { return ParentBindingExpression.ValidatesOnNotifyDataErrors; } 308ParentBindingExpression.CancelPendingTasks(); 327CurrentChangedEventManager.RemoveHandler(oldCollectionView, ParentBindingExpression.OnCurrentChanged); 330CurrentChangingEventManager.RemoveHandler(oldCollectionView, ParentBindingExpression.OnCurrentChanging); 337CurrentChangedEventManager.AddHandler(newCollectionView, ParentBindingExpression.OnCurrentChanged); 340CurrentChangingEventManager.AddHandler(newCollectionView, ParentBindingExpression.OnCurrentChanging); 349BindingExpression parent = ParentBindingExpression; 388ParentBindingExpression.SetupDefaultValueConverter(type); 414if (ParentBindingExpression.TargetWantsCrossThreadNotifications) 435ParentBindingExpression.UpdateNotifyDataErrors(indei, propName, DependencyProperty.UnsetValue); 437else if (!ParentBindingExpression.IsDataErrorsChangedPending) 440ParentBindingExpression.IsDataErrorsChangedPending = true; 445ParentBindingExpression.UpdateNotifyDataErrors((INotifyDataErrorInfo)args[0], (string)args[1], DependencyProperty.UnsetValue); 468ParentBindingExpression.ScheduleTransfer(false); 491TraceData.TraceAndNotify(ParentBindingExpression.TraceLevel, 495ParentBindingExpression, ex); 511ParentBindingExpression, ex); 524TraceData.TraceAndNotify(TraceEventType.Information, TraceData.MissingDataItem, ParentBindingExpression); 534TraceData.TraceAndNotify(TraceEventType.Information, TraceData.MissingInfo, ParentBindingExpression); 542TraceData.TraceAndNotify(TraceEventType.Information, TraceData.NullDataItem, ParentBindingExpression); 592if (!ParentBindingExpression.IsDetaching) 625ParentBindingExpression.ChangeWorkerSources(newSources, n); 703ParentBindingExpression.TransferValue(request.Result, false); 783object filteredException = ParentBinding.DoFilterException(ParentBindingExpression, request.Exception); 798Validation.MarkInvalid(ParentBindingExpression, validationError);
MS\Internal\Data\PropertyPathWorker.cs (26)
325TraceData.Identify(_host.ParentBindingExpression), 330_host.ParentBindingExpression); 350TraceData.Identify(_host.ParentBindingExpression), 355_host.ParentBindingExpression); 763TraceData.Identify(_host.ParentBindingExpression), 766_host.ParentBindingExpression); 857TraceData.Identify(_host.ParentBindingExpression), 861_host.ParentBindingExpression); 934BindingExpression bindingExpression = (_host != null) ? _host.ParentBindingExpression : null; 1054TraceData.Identify(_host.ParentBindingExpression), 1057_host.ParentBindingExpression); 1074TraceData.Identify(_host.ParentBindingExpression), 1076_host.ParentBindingExpression); 1107TraceData.Identify(_host.ParentBindingExpression), 1112_host.ParentBindingExpression); 1135TraceData.Identify(_host.ParentBindingExpression), 1140_host.ParentBindingExpression); 1240TraceData.Identify(_host.ParentBindingExpression), 1245_host.ParentBindingExpression); 1744TraceData.Identify(_host.ParentBindingExpression), 1747_host.ParentBindingExpression); 1759TraceData.Identify(_host.ParentBindingExpression), 1762_host.ParentBindingExpression); 1782TraceData.Identify(_host.ParentBindingExpression), 1785_host.ParentBindingExpression); 1795return TraceData.IsExtendedTraceEnabled(_host.ParentBindingExpression, level);
MS\Internal\Data\XmlBindingWorker.cs (30)
36internal XmlBindingWorker(ClrBindingWorker worker, bool collectionMode) : base(worker.ParentBindingExpression) 79CurrentChangedEventManager.AddHandler(CollectionView, ParentBindingExpression.OnCurrentChanged); 83CurrentChangingEventManager.AddHandler(CollectionView, ParentBindingExpression.OnCurrentChanging); 96CurrentChangedEventManager.RemoveHandler(CollectionView, ParentBindingExpression.OnCurrentChanged); 100CurrentChangingEventManager.RemoveHandler(CollectionView, ParentBindingExpression.OnCurrentChanging); 119using (ParentBindingExpression.ChangingValue()) 162ParentBindingExpression); 189if (_contextNode != value && TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.ReplaceItem)) 193TraceData.Identify(ParentBindingExpression), 195ParentBindingExpression); 242if ((_xmlDataProvider = ParentBindingExpression.DataSource as XmlDataProvider) != null) 317TraceData.TraceAndNotify(TraceEventType.Error, TraceData.XmlBindingToNonXmlCollection, ParentBindingExpression, 318traceParameters: new object[] { XPath, ParentBindingExpression, DataItem }); 327TraceData.TraceAndNotify(TraceEventType.Error, TraceData.XmlBindingToNonXml, ParentBindingExpression, 328traceParameters: new object[] { XPath, ParentBindingExpression, DataItem }); 394if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 398TraceData.Identify(ParentBindingExpression), 400ParentBindingExpression); 416if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.Events)) 420TraceData.Identify(ParentBindingExpression), 423ParentBindingExpression); 433DependencyObject target = ParentBindingExpression.TargetElement; 477if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 481TraceData.Identify(ParentBindingExpression), 483ParentBindingExpression); 529TraceData.TraceAndNotify(TraceEventType.Error, TraceData.CannotGetXmlNodeCollection, ParentBindingExpression, 530traceParameters: new object[] { (ContextNode != null) ? ContextNode.Name : null, XPath, ParentBindingExpression, xe }, 535if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 539TraceData.Identify(ParentBindingExpression), 543ParentBindingExpression);