RibbonTwoLineText.TextAlignment Property
Gets or sets a value that indicates the horizontal alignment of text content in this element.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property TextAlignment As TextAlignment
public TextAlignment TextAlignment { get; set; }
public:
property TextAlignment TextAlignment {
TextAlignment get ();
void set (TextAlignment value);
}
member TextAlignment : TextAlignment with get, set
function get TextAlignment () : TextAlignment
function set TextAlignment (value : TextAlignment)
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.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
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 Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.