共用方式為


TextBlock.TextAlignmentProperty 屬性

定義

識別 TextAlignment 相依性屬性。

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

屬性值

TextAlignment 相依性屬性的標識碼。

適用於