Intersoft.Client.Documents Namespace > Span Class : Inlines Property |
Public Property Inlines As InlineCollection
Dim instance As Span Dim value As InlineCollection instance.Inlines = value value = instance.Inlines
public InlineCollection Inlines {get; set;}
public: property InlineCollection^ Inlines { InlineCollection^ get(); void set ( InlineCollection^ value); }
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2