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)
1214
newSources[offset++] = new
WeakDependencySource
(_ctxElement, FrameworkElement.DataContextProperty);
1221
(wr != null) ? new
WeakDependencySource
(wr, CollectionViewSource.ViewProperty)
1222
: new
WeakDependencySource
(cvs, CollectionViewSource.ViewProperty);
1227
newSources[offset++] = new
WeakDependencySource
(TargetElementReference, FrameworkElement.LanguageProperty);
System\Windows\Data\MultiBindingExpression.cs (2)
224
WeakDependencySource[] commonSources = new WeakDependencySource[] { new
WeakDependencySource
(TargetElement, FrameworkElement.LanguageProperty) };
442
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)
259
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
1193
internal void ChangeWorkerSources(
WeakDependencySource
[] newWorkerSources, int n)
1210
WeakDependencySource
[] newSources = (size > 0) ? new
WeakDependencySource
[size] : null;
System\Windows\Data\BindingExpressionBase.cs (12)
984
internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources);
2016
internal
WeakDependencySource
[] WeakSources
2401
internal void ChangeSources(
WeakDependencySource
[] newSources)
2422
internal static
WeakDependencySource
[] CombineSources(int index,
2425
WeakDependencySource
[] newSources,
2426
WeakDependencySource
[] commonSources = null)
2434
var tempList = new List<
WeakDependencySource
>();
2447
WeakDependencySource
[] sources = (i==index) ? newSources :
2452
WeakDependencySource
candidate = sources[j];
2457
WeakDependencySource
prior = tempList[k];
2858
private void ChangeSources(DependencyObject target, DependencyProperty dp,
WeakDependencySource
[] newSources)
2916
private
WeakDependencySource
[] _sources;
System\Windows\Data\MultiBindingExpression.cs (7)
224
WeakDependencySource
[] commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
225
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, MutableBindingExpressions.Count, null, commonSources);
433
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
439
WeakDependencySource
[] commonSources = null;
442
commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
445
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, MutableBindingExpressions.Count, newSources, commonSources);
System\Windows\Data\PriorityBindingExpression.cs (3)
270
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
276
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, AttentiveBindingExpressions, newSources);
541
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, AttentiveBindingExpressions, null);