次の方法で共有


XRTextTrimming (Compact 2013)

3/28/2014

This enumeration contains values that describe the text trimming behaviors that can be applied to content that overflows the content area of its container.

Syntax

enum XRTextTrimming
{
        XRTextTrimming_None = 0,
        XRTextTrimming_WordEllipsi = 2
};

Members

  • XRTextTrimming_None
    Indicates that text is not trimmed when it overflows the content area of its container. This is the default.
  • XRTextTrimming_WordEllipsi
    Indicates that text is trimmed at a word boundary. An ellipsis (...) is drawn in place of remaining text.

Remarks

The XRTextTrimming enumeration is used in the IXRTextBlock::GetTextTrimming and IXRTextBlock::SetTextTrimming methods.

.NET Framework Equivalent

System.Windows.TextTrimming

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations