RibbonTwoLineText.TextDecorations Property
Gets or sets a TextDecorationCollection that contains the effects to apply to the text content in this element.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property TextDecorations As TextDecorationCollection
public TextDecorationCollection TextDecorations { get; set; }
public:
property TextDecorationCollection^ TextDecorations {
TextDecorationCollection^ get ();
void set (TextDecorationCollection^ value);
}
member TextDecorations : TextDecorationCollection with get, set
function get TextDecorations () : TextDecorationCollection
function set TextDecorations (value : TextDecorationCollection)
Property Value
Type: System.Windows.TextDecorationCollection
A TextDecorationCollection that contains the effects to apply to the text content in this element. The default is nulla null reference (Nothing in Visual Basic).
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
This property gets or sets the value of the TextDecorations property of the control’s internal TextBlock. For more information, see TextBlock.TextDecorations.
.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.