8 instantiations of WeakDependencySource
PresentationFramework (8)
MS\Internal\Data\ClrBindingWorker.cs (2)
588
newSources[n++] = new
WeakDependencySource
(d, dp);
599
newSources[n++] = new
WeakDependencySource
(d, DependencyObject.DirectDependencyProperty);
System\Windows\Data\BindingExpression.cs (4)
1215
newSources[offset++] = new
WeakDependencySource
(_ctxElement, FrameworkElement.DataContextProperty);
1222
(wr != null) ? new
WeakDependencySource
(wr, CollectionViewSource.ViewProperty)
1223
: new
WeakDependencySource
(cvs, CollectionViewSource.ViewProperty);
1228
newSources[offset++] = new
WeakDependencySource
(TargetElementReference, FrameworkElement.LanguageProperty);
System\Windows\Data\MultiBindingExpression.cs (2)
225
WeakDependencySource[] commonSources = new WeakDependencySource[] { new
WeakDependencySource
(TargetElement, FrameworkElement.LanguageProperty) };
443
commonSources = new WeakDependencySource[] { new
WeakDependencySource
(TargetElement, FrameworkElement.LanguageProperty) };
28 references to WeakDependencySource
PresentationFramework (28)
MS\Internal\Data\ClrBindingWorker.cs (2)
576
WeakDependencySource
[] newSources = new
WeakDependencySource
[size];
System\Windows\Data\BindingExpression.cs (4)
260
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
1194
internal void ChangeWorkerSources(
WeakDependencySource
[] newWorkerSources, int n)
1211
WeakDependencySource
[] newSources = (size > 0) ? new
WeakDependencySource
[size] : null;
System\Windows\Data\BindingExpressionBase.cs (12)
985
internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources);
2017
internal
WeakDependencySource
[] WeakSources
2402
internal void ChangeSources(
WeakDependencySource
[] newSources)
2423
internal static
WeakDependencySource
[] CombineSources(int index,
2426
WeakDependencySource
[] newSources,
2427
WeakDependencySource
[] commonSources = null)
2435
var tempList = new List<
WeakDependencySource
>();
2448
WeakDependencySource
[] sources = (i==index) ? newSources :
2453
WeakDependencySource
candidate = sources[j];
2458
WeakDependencySource
prior = tempList[k];
2859
void ChangeSources(DependencyObject target, DependencyProperty dp,
WeakDependencySource
[] newSources)
2917
WeakDependencySource
[] _sources;
System\Windows\Data\MultiBindingExpression.cs (7)
225
WeakDependencySource
[] commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
226
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, MutableBindingExpressions.Count, null, commonSources);
434
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
440
WeakDependencySource
[] commonSources = null;
443
commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
446
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, MutableBindingExpressions.Count, newSources, commonSources);
System\Windows\Data\PriorityBindingExpression.cs (3)
271
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
277
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, AttentiveBindingExpressions, newSources);
542
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, AttentiveBindingExpressions, null);