次の方法で共有


IXRInline (Windows Embedded CE 6.0)

1/6/2010

This class provides a base class for the behavior of elements in inline flow-content.

Syntax

class IXRInline : public IXRDependencyObject

Methods

Method Description

IXRInline::GetFontFamily

Retrieves the preferred top-level font family for the text in this inline element.

IXRInline::GetFontSize

Retrieves the font size for the text in this inline element.

IXRInline::GetFontStretch

Retrieves a value that indicates how much a font is condensed or expanded on the screen.

IXRInline::GetFontStyle

Retrieves the font style for the text in this inline element.

IXRInline::GetFontWeight

Retrieves the top-level font weight for this inline element.

IXRInline::GetForeground

Retrieves the brush that paints the text in this inline element.

IXRInline::GetTextDecoration

Retrieves the text decorations that are applied to the text inside this inline element.

IXRInline::SetFontFamily

Sets the preferred top-level font family for the text in this inline element.

IXRInline::SetFontSize

Sets the font size for the text in this inline element.

IXRInline::SetFontStretch

Sets a value that indicates how much a font is condensed or expanded on the screen.

IXRInline::SetFontStyle

Sets the font style for the text in this inline element.

IXRInline::SetFontWeight

Sets the top-level font weight for this inline element.

IXRInline::SetForeground

Sets the brush that paints the text in this inline element.

IXRInline::SetTextDecoration

Sets the text decorations that are applied to the text inside this inline element.

Remarks

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

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

Inheritance Hierarchy

IXRDependencyObject

    IXRInline

        IXRLineBreak

        IXRRun

.NET Framework Equivalent

System.Windows.Documents.Inline

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