RibbonTwoLineText.TextAlignment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.