Intersoft ClientUI Documentation
MarkerAlignment Property



Gets or sets the horizontal alignment applied to the marker element.
Syntax
Public Property MarkerAlignment As MarkerAlignment
Dim instance As List
Dim value As MarkerAlignment
 
instance.MarkerAlignment = value
 
value = instance.MarkerAlignment
public MarkerAlignment MarkerAlignment {get; set;}
public:
property MarkerAlignment MarkerAlignment {
   MarkerAlignment get();
   void set (    MarkerAlignment value);
}
Remarks

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 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

List Class
List Members

Send Feedback