Udostępnij za pośrednictwem


TextBlock.HorizontalTextAlignmentProperty Property

Definition

Identifies the HorizontalTextAlignment dependency property.

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

Property Value

The identifier for the HorizontalTextAlignment dependency property.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to