IXRLineBreak (Windows Embedded CE 6.0)

1/6/2010

This class represents an inline element that causes a new line to begin when it is displayed in a text container.

Syntax

class IXRLineBreak : public IXRInline

Methods

IXRLineBreak provides no new methods. All its methods are inherited from IXRInline.

Remarks

IXRLineBreak is comparable to the <br /> tag in HTML. In Microsoft Silverlight 2 XAML, the typical usage is the similar self-closing form <LineBreak />.

IXRLineBreak inherits many text formatting methods from IXRInline. However, most of these methods are ignored when displaying text. For example, setting the FontSize of an IXRLineBreak does not affect the vertical space between the surrounding lines of text. Instead, the FontSize set on the previous and following text runs determines the line spacing.

You can store an IXRLineBreak object in an IXRInlineCollection object.

You can also define a line break in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

    IXRInline

        IXRLineBreak

.NET Framework Equivalent

System.Windows.Documents.LineBreak

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for UI Element Management

Other Resources