Compartir a través de


IXRTextBlock::GetTextDecorations (Compact 2013)

3/28/2014

This method retrieves the text decorations that are applied to the text inside this text block element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTextDecorations(
    __out XRTextDecorationCollection* pTextDecorations
) = 0;

Parameters

  • pTextDecorations
    [out] Pointer to an XRTextDecorationCollection value that describes the text decorations that are applied to the text. The value will be XRDecorationsUnderline or XRDecorationsNone (default).

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

In XAML for Windows Embedded, the only text decoration is underlined text.

.NET Framework Equivalent

System.Windows.Controls.TextBlock.TextDecorations

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBlock
IXRRun
IXRTextBlock::GetInlines