8 instantiations of WeakDependencySource
PresentationFramework (8)
MS\Internal\Data\ClrBindingWorker.cs (2)
601
newSources[n++] = new
WeakDependencySource
(d, dp);
612
newSources[n++] = new
WeakDependencySource
(d, DependencyObject.DirectDependencyProperty);
System\Windows\Data\BindingExpression.cs (4)
1219
newSources[offset++] = new
WeakDependencySource
(_ctxElement, FrameworkElement.DataContextProperty);
1226
(wr != null) ? new
WeakDependencySource
(wr, CollectionViewSource.ViewProperty)
1227
: new
WeakDependencySource
(cvs, CollectionViewSource.ViewProperty);
1232
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)
589
WeakDependencySource
[] newSources = new
WeakDependencySource
[size];
System\Windows\Data\BindingExpression.cs (4)
263
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
1198
internal void ChangeWorkerSources(
WeakDependencySource
[] newWorkerSources, int n)
1215
WeakDependencySource
[] newSources = (size > 0) ? new
WeakDependencySource
[size] : null;
System\Windows\Data\BindingExpressionBase.cs (12)
985
internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources);
2018
internal
WeakDependencySource
[] WeakSources
2412
internal void ChangeSources(
WeakDependencySource
[] newSources)
2433
internal static
WeakDependencySource
[] CombineSources(int index,
2436
WeakDependencySource
[] newSources,
2437
WeakDependencySource
[] commonSources = null)
2445
var tempList = new List<
WeakDependencySource
>();
2458
WeakDependencySource
[] sources = (i==index) ? newSources :
2464
WeakDependencySource
candidate = sources[j];
2469
WeakDependencySource
prior = tempList[k];
2870
void ChangeSources(DependencyObject target, DependencyProperty dp,
WeakDependencySource
[] newSources)
2928
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)
278
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
284
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, AttentiveBindingExpressions, newSources);
552
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, AttentiveBindingExpressions, null);