8 instantiations of WeakDependencySource
PresentationFramework (8)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
609
newSources[n++] = new
WeakDependencySource
(d, dp);
620
newSources[n++] = new
WeakDependencySource
(d, DependencyObject.DirectDependencyProperty);
src\Framework\System\Windows\Data\BindingExpression.cs (4)
1221
newSources[offset++] = new
WeakDependencySource
(_ctxElement, FrameworkElement.DataContextProperty);
1228
(wr != null) ? new
WeakDependencySource
(wr, CollectionViewSource.ViewProperty)
1229
: new
WeakDependencySource
(cvs, CollectionViewSource.ViewProperty);
1234
newSources[offset++] = new
WeakDependencySource
(TargetElementReference, FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
237
WeakDependencySource[] commonSources = new WeakDependencySource[] { new
WeakDependencySource
(TargetElement, FrameworkElement.LanguageProperty) };
454
commonSources = new WeakDependencySource[] { new
WeakDependencySource
(TargetElement, FrameworkElement.LanguageProperty) };
31 references to WeakDependencySource
PresentationFramework (31)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
597
WeakDependencySource
[] newSources = new
WeakDependencySource
[size];
src\Framework\System\Windows\Data\BindingExpression.cs (4)
277
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
1200
internal void ChangeWorkerSources(
WeakDependencySource
[] newWorkerSources, int n)
1217
WeakDependencySource
[] newSources = (size > 0) ? new
WeakDependencySource
[size] : null;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (15)
997
internal abstract void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources);
2017
internal
WeakDependencySource
[] WeakSources
2422
internal void ChangeSources(
WeakDependencySource
[] newSources)
2443
internal static
WeakDependencySource
[] CombineSources(int index,
2446
WeakDependencySource
[] newSources,
2447
WeakDependencySource
[] commonSources = null)
2455
Collection<
WeakDependencySource
> tempList = new Collection<
WeakDependencySource
>();
2468
WeakDependencySource
[] sources = (i==index) ? newSources :
2474
WeakDependencySource
candidate = sources[j];
2479
WeakDependencySource
prior = tempList[k];
2493
WeakDependencySource
[] result;
2496
result = new
WeakDependencySource
[tempList.Count];
2888
void ChangeSources(DependencyObject target, DependencyProperty dp,
WeakDependencySource
[] newSources)
2946
WeakDependencySource
[] _sources;
src\Framework\System\Windows\Data\MultiBindingExpression.cs (7)
237
WeakDependencySource
[] commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
238
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, MutableBindingExpressions.Count, null, commonSources);
445
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
451
WeakDependencySource
[] commonSources = null;
454
commonSources = new
WeakDependencySource
[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) };
457
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, MutableBindingExpressions.Count, newSources, commonSources);
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (3)
288
internal override void ChangeSourcesForChild(BindingExpressionBase bindingExpression,
WeakDependencySource
[] newSources)
294
WeakDependencySource
[] combinedSources = CombineSources(index, MutableBindingExpressions, AttentiveBindingExpressions, newSources);
562
WeakDependencySource
[] newSources = CombineSources(-1, MutableBindingExpressions, AttentiveBindingExpressions, null);