Intersoft ClientUI Documentation
Blocks Property (ListItem)



Gets or sets the top-level Block element collection the list item.

Syntax
Public Property Blocks As BlockCollection
Dim instance As ListItem
Dim value As BlockCollection
 
instance.Blocks = value
 
value = instance.Blocks
public BlockCollection Blocks {get; set;}
public:
property BlockCollection^ Blocks {
   BlockCollection^ get();
   void set (    BlockCollection^ value);
}
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>

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 Class
ListItem Members

Send Feedback