95 references to ParentBindingExpression
PresentationFramework (95)
MS\Internal\Data\BindingWorker.cs (12)
74protected Binding ParentBinding { get { return ParentBindingExpression.ParentBinding; } } 76protected bool IsDynamic { get { return ParentBindingExpression.IsDynamic; } } 77internal bool IsReflective { get { return ParentBindingExpression.IsReflective; } } 78protected bool IgnoreSourcePropertyChange { get { return ParentBindingExpression.IgnoreSourcePropertyChange; } } 79protected object DataItem { get { return ParentBindingExpression.DataItem; } } 80protected DependencyObject TargetElement { get { return ParentBindingExpression.TargetElement; } } 81protected DependencyProperty TargetProperty { get { return ParentBindingExpression.TargetProperty; } } 82protected DataBindEngine Engine { get { return ParentBindingExpression.Engine; } } 83protected Dispatcher Dispatcher { get { return ParentBindingExpression.Dispatcher; } } 87get { return ParentBindingExpression.StatusInternal; } 88set { ParentBindingExpression.SetStatus(value); } 99ParentBindingExpression.IsTransferPending = value;
MS\Internal\Data\ClrBindingWorker.cs (27)
48_pathWorker.SetTreeContext(ParentBindingExpression.TargetElementReference); 192ParentBindingExpression.SetupDefaultValueConverter(item.GetType()); 288get { return ParentBindingExpression.ValidatesOnNotifyDataErrors; } 299ParentBindingExpression.CancelPendingTasks(); 318CurrentChangedEventManager.RemoveHandler(oldCollectionView, ParentBindingExpression.OnCurrentChanged); 321CurrentChangingEventManager.RemoveHandler(oldCollectionView, ParentBindingExpression.OnCurrentChanging); 328CurrentChangedEventManager.AddHandler(newCollectionView, ParentBindingExpression.OnCurrentChanged); 331CurrentChangingEventManager.AddHandler(newCollectionView, ParentBindingExpression.OnCurrentChanging); 340BindingExpression parent = ParentBindingExpression; 379ParentBindingExpression.SetupDefaultValueConverter(type); 405if (ParentBindingExpression.TargetWantsCrossThreadNotifications) 426ParentBindingExpression.UpdateNotifyDataErrors(indei, propName, DependencyProperty.UnsetValue); 428else if (!ParentBindingExpression.IsDataErrorsChangedPending) 431ParentBindingExpression.IsDataErrorsChangedPending = true; 436ParentBindingExpression.UpdateNotifyDataErrors((INotifyDataErrorInfo)args[0], (string)args[1], DependencyProperty.UnsetValue); 459ParentBindingExpression.ScheduleTransfer(false); 482TraceData.TraceAndNotify(ParentBindingExpression.TraceLevel, 486ParentBindingExpression, ex); 502ParentBindingExpression, ex); 515TraceData.TraceAndNotify(TraceEventType.Information, TraceData.MissingDataItem, ParentBindingExpression); 525TraceData.TraceAndNotify(TraceEventType.Information, TraceData.MissingInfo, ParentBindingExpression); 533TraceData.TraceAndNotify(TraceEventType.Information, TraceData.NullDataItem, ParentBindingExpression); 583if (!ParentBindingExpression.IsDetaching) 616ParentBindingExpression.ChangeWorkerSources(newSources, n); 694ParentBindingExpression.TransferValue(request.Result, false); 774object filteredException = ParentBinding.DoFilterException(ParentBindingExpression, request.Exception); 789Validation.MarkInvalid(ParentBindingExpression, validationError);
MS\Internal\Data\PropertyPathWorker.cs (26)
319TraceData.Identify(_host.ParentBindingExpression), 324_host.ParentBindingExpression); 344TraceData.Identify(_host.ParentBindingExpression), 349_host.ParentBindingExpression); 757TraceData.Identify(_host.ParentBindingExpression), 760_host.ParentBindingExpression); 851TraceData.Identify(_host.ParentBindingExpression), 855_host.ParentBindingExpression); 928BindingExpression bindingExpression = (_host != null) ? _host.ParentBindingExpression : null; 1048TraceData.Identify(_host.ParentBindingExpression), 1051_host.ParentBindingExpression); 1068TraceData.Identify(_host.ParentBindingExpression), 1070_host.ParentBindingExpression); 1101TraceData.Identify(_host.ParentBindingExpression), 1106_host.ParentBindingExpression); 1129TraceData.Identify(_host.ParentBindingExpression), 1134_host.ParentBindingExpression); 1234TraceData.Identify(_host.ParentBindingExpression), 1239_host.ParentBindingExpression); 1738TraceData.Identify(_host.ParentBindingExpression), 1741_host.ParentBindingExpression); 1753TraceData.Identify(_host.ParentBindingExpression), 1756_host.ParentBindingExpression); 1776TraceData.Identify(_host.ParentBindingExpression), 1779_host.ParentBindingExpression); 1789return TraceData.IsExtendedTraceEnabled(_host.ParentBindingExpression, level);
MS\Internal\Data\XmlBindingWorker.cs (30)
30internal XmlBindingWorker(ClrBindingWorker worker, bool collectionMode) : base(worker.ParentBindingExpression) 73CurrentChangedEventManager.AddHandler(CollectionView, ParentBindingExpression.OnCurrentChanged); 77CurrentChangingEventManager.AddHandler(CollectionView, ParentBindingExpression.OnCurrentChanging); 90CurrentChangedEventManager.RemoveHandler(CollectionView, ParentBindingExpression.OnCurrentChanged); 94CurrentChangingEventManager.RemoveHandler(CollectionView, ParentBindingExpression.OnCurrentChanging); 113using (ParentBindingExpression.ChangingValue()) 156ParentBindingExpression); 183if (_contextNode != value && TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.ReplaceItem)) 187TraceData.Identify(ParentBindingExpression), 189ParentBindingExpression); 236if ((_xmlDataProvider = ParentBindingExpression.DataSource as XmlDataProvider) != null) 311TraceData.TraceAndNotify(TraceEventType.Error, TraceData.XmlBindingToNonXmlCollection, ParentBindingExpression, 312traceParameters: new object[] { XPath, ParentBindingExpression, DataItem }); 321TraceData.TraceAndNotify(TraceEventType.Error, TraceData.XmlBindingToNonXml, ParentBindingExpression, 322traceParameters: new object[] { XPath, ParentBindingExpression, DataItem }); 388if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 392TraceData.Identify(ParentBindingExpression), 394ParentBindingExpression); 410if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.Events)) 414TraceData.Identify(ParentBindingExpression), 417ParentBindingExpression); 427DependencyObject target = ParentBindingExpression.TargetElement; 471if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 475TraceData.Identify(ParentBindingExpression), 477ParentBindingExpression); 523TraceData.TraceAndNotify(TraceEventType.Error, TraceData.CannotGetXmlNodeCollection, ParentBindingExpression, 524traceParameters: new object[] { (ContextNode != null) ? ContextNode.Name : null, XPath, ParentBindingExpression, xe }, 529if (TraceData.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue)) 533TraceData.Identify(ParentBindingExpression), 537ParentBindingExpression);