Поделиться через


XRTextWrapping (Compact 2013)

3/28/2014

This enumeration specifies whether text wraps to the next line when it reaches the edge of its container.

Syntax

enum XRTextWrapping{
    XRTextWrapping_NoWrap = 1,
    XRTextWrapping_Wrap = 2
};

Members

  • XRTextWrapping_NoWrap
    Indicates that text is not wrapped.
  • XRTextWrapping_Wrap
    Indicates that if a line of text extends beyond the width of its container, a line break is inserted.

    Line breaks are inserted even if the standard line-breaking algorithm cannot determine any line-break opportunity, such as when a line of text includes a long word that is constrained by a fixed-width container, without scrolling.

.NET Framework Equivalent

System.Windows.TextWrapping

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRTextBlock::GetTextWrapping
IXRTextBlock::SetTextWrapping
IXRTextBox::GetTextWrapping
IXRTextBox::SetTextWrapping