共用方式為


TextBlock.ForegroundProperty 屬性

定義

識別 前景 相依性屬性。

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

屬性值

前景相依性屬性的標識碼。

適用於