Share via


ITextAlignmentElement.HorizontalTextAlignment Property

Definition

Gets the horizontal alignment of the text.

public:
 property Microsoft::Maui::TextAlignment HorizontalTextAlignment { Microsoft::Maui::TextAlignment get(); };
public Microsoft.Maui.TextAlignment HorizontalTextAlignment { get; }
member this.HorizontalTextAlignment : Microsoft.Maui.TextAlignment
Public ReadOnly Property HorizontalTextAlignment As TextAlignment

Property Value

A TextAlignment value that specifies how the text is horizontally aligned. The default value depends on the implementing control.

Remarks

Implementors should implement this property publicly.

Applies to