RibbonTwoLineText::TextAlignment Property

.NET Framework (current version)
 

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:
property TextAlignment TextAlignment {
	TextAlignment get();
	void set(TextAlignment value);
}

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.

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

TextAlignmentProperty

Metadata properties set to true

None

.NET Framework
Available since 4.5
Return to top
Show: