AccessText.TextAlignment Property


Gets or sets the horizontal alignment of the content.

 property System::Windows::TextAlignment TextAlignment { System::Windows::TextAlignment get(); void set(System::Windows::TextAlignment value); };
public System.Windows.TextAlignment TextAlignment { get; set; }
member this.TextAlignment : System.Windows.TextAlignment with get, set
Public Property TextAlignment As TextAlignment

Property Value

The horizontal alignment of the text.


For a list of alignments see TextAlignment.

Dependency Property Information

Identifier field TextAlignmentProperty
Metadata properties set to true AffectsMeasure, AffectsRender, Inherits

Applies to