27 references to DataContextProperty
PresentationFramework (26)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
83
else if (targetDP == FrameworkElement.
DataContextProperty
||
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
385
o = el.GetValue(FrameworkElement.
DataContextProperty
);
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
642
_arySVS[k-1].info == FrameworkElement.
DataContextProperty
)
673
_arySVS[_arySVS.Length-1].info == FrameworkElement.
DataContextProperty
&&
src\Framework\System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (1)
99
owner.GetValue(FrameworkElement.
DataContextProperty
) ==
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
873
this.ClearValue(
DataContextProperty
);
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
404
oldContent.SetValue(FrameworkElement.
DataContextProperty
, BindingExpressionBase.DisconnectedItem);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
2294
container.SetValue(FrameworkElement.
DataContextProperty
, item);
2349
DependencyProperty dp = FrameworkElement.
DataContextProperty
;
src\Framework\System\Windows\Data\BindingExpression.cs (11)
235
if (dp == FrameworkElement.
DataContextProperty
&& d == ContextElement)
471
BaseValueSourceInternal valueSource = d.GetValueSource(FrameworkElement.
DataContextProperty
, null, out hasModifiers);
712
if (TargetProperty == FrameworkElement.
DataContextProperty
||
717
cvs.PropertyForInheritanceContext == FrameworkElement.
DataContextProperty
)
765
source = contextElement.GetValue(FrameworkElement.
DataContextProperty
);
931
object item = contextElement.GetValue(FrameworkElement.
DataContextProperty
);
1221
newSources[offset++] = new WeakDependencySource(_ctxElement, FrameworkElement.
DataContextProperty
);
2272
item = contextElement.GetValue(FrameworkElement.
DataContextProperty
);
2420
object newItem = contextElement.GetValue(FrameworkElement.
DataContextProperty
);
2644
if (dp == FrameworkElement.
DataContextProperty
)
2712
b = BindingOperations.GetBindingExpression(ancestor, FrameworkElement.
DataContextProperty
) as BindingExpression;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1731
DependencyProperty dataContextDP = FrameworkElement.
DataContextProperty
;
src\Framework\System\Windows\Data\BindingGroup.cs (2)
825
object dataContextItem = mentor.GetValue(FrameworkElement.
DataContextProperty
);
1029
mentor.GetValue(FrameworkElement.
DataContextProperty
) == CollectionView.NewItemPlaceholder)
src\Framework\System\Windows\FrameworkContentElement.cs (1)
1138
FrameworkElement.
DataContextProperty
.AddOwner(
src\Framework\System\Windows\FrameworkElement.cs (2)
2736
get { return GetValue(
DataContextProperty
); }
2737
set { SetValue(
DataContextProperty
, value); }
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
294
this.presenter.SetBinding(ContentPresenter.
DataContextProperty
, binding);