FrameworkElement.DataContextProperty 属性

定义

标识 DataContext 依赖属性。

public:
 static property DependencyProperty ^ DataContextProperty { DependencyProperty ^ get(); };
static DependencyProperty DataContextProperty();
public static DependencyProperty DataContextProperty { get; }
var dependencyProperty = FrameworkElement.dataContextProperty;
Public Shared ReadOnly Property DataContextProperty As DependencyProperty

属性值

DataContext 依赖属性标识符。

适用于