TextBlock.ForegroundProperty 属性

定义

标识 Foreground 依赖属性。

public:
 static property DependencyProperty ^ ForegroundProperty { DependencyProperty ^ get(); };
static DependencyProperty ForegroundProperty();
public static DependencyProperty ForegroundProperty { get; }
var dependencyProperty = TextBlock.foregroundProperty;
Public Shared ReadOnly Property ForegroundProperty As DependencyProperty

属性值

Foreground 依赖属性的标识符。

适用于