RibbonTwoLineText::TextAlignment Property
.NET Framework (current version)
Gets or sets a value that indicates the horizontal alignment of text content in this element.
Assembly: System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)
public: property TextAlignment TextAlignment { TextAlignment get(); void set(TextAlignment value); }
Property Value
Type: System.Windows::TextAlignmentOne of the enumeration values that indicates the horizontal alignment of text content in this element. The default is TextAlignment::Left.
This property gets or sets the value of the TextAlignment property of the control’s internal TextBlock. For more information, see TextBlock::TextAlignment.
Identifier field | |
Metadata properties set to true | None |
.NET Framework
Available since 4.5
Available since 4.5
Show: