Redigera

Dela via


AccessText.TextAlignment Property

Definition

Gets or sets the horizontal alignment of the content.

public:
 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.

Remarks

For a list of alignments see TextAlignment.

Dependency Property Information

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

Applies to