共用方式為


TextBox.HorizontalTextAlignmentProperty 屬性

定義

識別 HorizontalTextAlignment 相依性屬性。

public:
 static property DependencyProperty ^ HorizontalTextAlignmentProperty { DependencyProperty ^ get(); };
static DependencyProperty HorizontalTextAlignmentProperty();
public static DependencyProperty HorizontalTextAlignmentProperty { get; }
var dependencyProperty = TextBox.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 引進)

適用於