編輯

共用方式為


FormattedText.TextAlignment Property

Definition

Gets or sets the alignment of text within a FormattedText object.

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

One of the TextAlignment values that specifies the alignment of text within a FormattedText object.

Applies to