Intersoft ClientUI Documentation
ListItem Class
Members 



A flow content element that represents a particular content item in an ordered or unordered List.
Object Model
ListItem ClassBlockCollection ClassBlock ClassBorderStyle Class
Syntax
<ContentPropertyAttribute("Blocks")>
Public Class ListItem 
   Inherits TextElement
Dim instance As ListItem
[ContentPropertyAttribute("Blocks")]
public class ListItem : TextElement 
[ContentPropertyAttribute("Blocks")]
public ref class ListItem : public TextElement 
Remarks

List is used to create a bulleted or numeric list. List element can only contain ListItem element collection.

Set the MarkerStyle property to a TextMarkerStyle enumeration value to determine the style of the list. The built-in marker styles provided in FlowDocument are Disc, Circle, Square, Box, LowerRoman, UpperRoman, LowerLatin, UpperLatin, Decimal, and None.

XAML
Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph FontSize="25">
        <Intersoft:Underline>
            <Intersoft:Run>
                Employment Record
            </Intersoft:Run>
        </Intersoft:Underline>
    </Intersoft:Paragraph>
    <Intersoft:List MarkerStyle="Box" SpacingBefore="10">
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Bold>
                    <Intersoft:Run>
                        Web Developer
                    </Intersoft:Run>
                </Intersoft:Bold>
                <Intersoft:Run>
                    , Paper Best Corp, USA, July 2010 - present
                </Intersoft:Run>
            </Intersoft:Paragraph>
            <Intersoft:List MarkerStyle="Circle">
                <Intersoft:ListItem>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Develop and maintain database.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:ListItem>
                <Intersoft:ListItem>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Implement web-based internal CRM application.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:ListItem>
            </Intersoft:List>
        </Intersoft:ListItem>
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Bold>
                    <Intersoft:Run>
                        Junior Support Engineer
                    </Intersoft:Run>
                </Intersoft:Bold>
                <Intersoft:Run>
                    , MultiFront Corp, USA, April 2008 - June 2010
                </Intersoft:Run>
            </Intersoft:Paragraph>
            <Intersoft:List MarkerStyle="Circle">
                <Intersoft:ListItem>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Provide technical assistance for other departments.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:ListItem>
                <Intersoft:ListItem>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Perform unit testing on internal ERP application.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:ListItem>
                <Intersoft:ListItem>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Investigate bugs found during the QA process.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:ListItem>
            </Intersoft:List>
        </Intersoft:ListItem>
    </Intersoft:List>
</Intersoft:FlowDocument>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.ListItem

Requirements

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

See Also

Reference

ListItem Members
Intersoft.Client.Documents Namespace

Send Feedback