Intersoft ClientUI Documentation
Inlines Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Span Class : Inlines Property






Gets or sets the Inline element collection as the children of this element.

Syntax

Visual Basic (Declaration) 
Public Property Inlines As InlineCollection
Visual Basic (Usage)Copy Code
Dim instance As Span
Dim value As InlineCollection
 
instance.Inlines = value
 
value = instance.Inlines
C# 
public InlineCollection Inlines {get; set;}
Delphi 
public read-write property Inlines: InlineCollection; 
JScript 
public function get,set Inlines : InlineCollection
Managed Extensions for C++ 
public: __property InlineCollection* get_Inlines();
public: __property void set_Inlines( 
   InlineCollection* value
);
C++/CLI 
public:
property InlineCollection^ Inlines {
   InlineCollection^ get();
   void set (    InlineCollection^ value);
}

Remarks

Span groups other inline content elements together. Span is useful for applying common attributes to a group of inline elements, such as the same font attributes to multiple Run elements. Span is used in a similar manner to the <SPAN> tag in HTML.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph>
        <Intersoft:Span Foreground="DodgerBlue">
            <Intersoft:Run Text="lorem ipsum dolor sit amet, "/>
            <Intersoft:Underline>
                <Intersoft:Run>
                    consectetur adipisicing elit
                </Intersoft:Run>
            </Intersoft:Underline>
            <Intersoft:Run Text=", sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."/>
        </Intersoft:Span>
    </Intersoft:Paragraph>
</Intersoft:FlowDocument>

The Inline elements that are inherited from Span are Bold, Italic, Underline, and Hyperlink.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.