Edit

Bagikan melalui


RibbonTwoLineText.TextAlignment Property

Definition

Gets or sets a value that indicates the horizontal alignment of text content in this element.

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 enumeration values that indicates the horizontal alignment of text content in this element. The default is Left.

Remarks

This property gets or sets the value of the TextAlignment property of the control's internal TextBlock. For more information, see TextBlock.TextAlignment.

Dependency Property Information

Identifier field TextAlignmentProperty
Metadata properties set to true None

Applies to