RichTextBlock.HorizontalTextAlignmentProperty 属性

定义

标识 HorizontalTextAlignment 依赖属性。

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

属性值

HorizontalTextAlignment 依赖属性的标识符。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于