TextBlock.TextAlignmentProperty Property

Definition

Identifies the TextAlignment  dependency property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBlock.TextAlignmentProperty.

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

Property Value

DependencyProperty

The identifier for the TextAlignment dependency property.

Applies to