Share via


IXRInline (Compact 2013)

3/28/2014

This class provides a base class for content elements that XAML for Windows Embedded displays inline in a text block.

Syntax

class IXRInline : public IXRTextElement

Inheritance Hierarchy

IXRDependencyObject

    IXRTextElement

        IXRInline

            IXRLineBreak

            IXRRun

Methods

IXRInline provides no new methods. All of its methods are inherited from IXRTextElement.

Thread Safety

Members of this class are thread safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

IXRInline is the base class for classes derived from IXRLineBreak and IXRRun.

Objects derived from IXRInline are stored in an IXRInlineCollection. An IXRTextBlock control uses this collection to hold all of its inline text elements. You can set a new collection for an IXRTextBlock by calling IXRTextBlock::SetInlines.

When you create a class instance, use an IXRInlinePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Documents.Inline

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for UI Element Management