Intersoft ClientUI Documentation
StartIndex Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > List Class : StartIndex Property






Gets or sets the start index of the list.

Syntax

Visual Basic (Declaration) 
Public Property StartIndex As Integer
Visual Basic (Usage)Copy Code
Dim instance As List
Dim value As Integer
 
instance.StartIndex = value
 
value = instance.StartIndex
C# 
public int StartIndex {get; set;}
Delphi 
public read-write property StartIndex: Integer; 
JScript 
public function get,set StartIndex : int
Managed Extensions for C++ 
public: __property int get_StartIndex();
public: __property void set_StartIndex( 
   int value
);
C++/CLI 
public:
property int StartIndex {
   int get();
   void set (    int value);
}

Remarks

You can specify the start index of the list using StartIndex property. Note that this property will be used when the marker style is one of the following: LowerRoman, UpperRoman, LowerLatin, UpperLatin, and Decimal.

By default, a List element will be indented 25 pixel from its original offset. You can customize this configuration using Margin property. Additionally, you can set the space between the marker style and the content using MarkerOffset property. You can use the MarkerAlignment property to set the alignment of marker style. The default value is Right.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:List MarkerStyle="LowerRoman" StartIndex="5" 
            MarkerOffset="10" Margin="30" MarkerAlignment="Left">
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Run>
                    list item 1
                </Intersoft:Run>
            </Intersoft:Paragraph>
        </Intersoft:ListItem>
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Run>
                    list item 2
                </Intersoft:Run>
            </Intersoft:Paragraph>
        </Intersoft:ListItem>
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Run>
                    list item 3
                </Intersoft:Run>
            </Intersoft:Paragraph>
        </Intersoft:ListItem>
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Run>
                    list item 4
                </Intersoft:Run>
            </Intersoft:Paragraph>
        </Intersoft:ListItem>
        <Intersoft:ListItem>
            <Intersoft:Paragraph>
                <Intersoft:Run>
                    list item 5
                </Intersoft:Run>
            </Intersoft:Paragraph>
        </Intersoft:ListItem>
    </Intersoft:List>
</Intersoft:FlowDocument>

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.