Export (0) Print
Expand All

RibbonTwoLineText.TextAlignment Property

.NET Framework 4.6 and 4.5

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

Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public TextAlignment TextAlignment { get; set; }

Property Value

Type: System.Windows.TextAlignment
One of the enumeration values that indicates the horizontal alignment of text content in this element. The default is TextAlignment.Left.

Identifier field

TextAlignmentProperty

Metadata properties set to true

None

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

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft