IXRTextBlock::SetTextDecorations (Compact 2013)
3/28/2014
This method sets the text decorations that are applied to the text inside this text block element.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetTextDecorations(
__in XRTextDecorationCollection TextDecorations
) = 0;
Parameters
- TextDecorations
[in] Specifies the text decorations that are applied to the text. The only valid values are XRDecorationsUnderline
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
In XAML for Windows Embedded, the only text decoration is underlined text.
In XAML, you can set TextDecorations to the value Underline or to an empty string (which is equivalent to no underline).
Text decoration settings for IXRRun child elements override this top-level setting. For more information, see IXRTextBlock::SetInlines.
.NET Framework Equivalent
System.Windows.Controls.TextBlock.TextDecorations
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
IXRTextBlock
IXRRun
IXRTextBlock::SetInlines
XRTextDecorationCollection