共用方式為


TextBlock.HorizontalTextAlignmentProperty 屬性

定義

識別 HorizontalTextAlignment 相依性屬性。

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

屬性值

HorizontalTextAlignment 相依性屬性的標識符。

適用於