Intersoft ClientUI Documentation
Borders Property (Table)



Gets or sets the comma and semicolon separated string as border value.
Syntax
<TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")>
Public Shadows Property Borders As TableBorderStyle
Dim instance As Table
Dim value As TableBorderStyle
 
instance.Borders = value
 
value = instance.Borders
[TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public new TableBorderStyle Borders {get; set;}
[TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public:
new property TableBorderStyle^ Borders {
   TableBorderStyle^ get();
   void set (    TableBorderStyle^ value);
}
Remarks

In Table element, you can add two more border definition in Borders property. The fifth definition specifies inside horizontal border formatting, while the sixth definition specifies the inside vertical border formatting. For example: Borders="1,Single,#FF000000;1,Single,#FF000000;1,Single,#FF000000;1,Single,#FF000000;1,Single,#FF0000FF;1,Single,#FF0000FF;" will apply Blue color as the color of horizontal and vertical lines of all TableCell elements in the table. Note that this six border definition can only be applied to Table element.

XAML
Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Table CellSpacing="5" CellPadding="5" TextAlignment="Center" 
                        Borders="2,Single,#FFDAA520;2,Single,#FFDAA520;2,Single,#FFDAA520;2,Single,#FFDAA520;2,DashSmallGap,#FFFFDAB9;2,DashSmallGap,#FFFFDAB9">
        <Intersoft:Table.Columns>
            <Intersoft:TableColumn Width="50"/>
            <Intersoft:TableColumn Width="150"/>
            <Intersoft:TableColumn Width="150"/>
        </Intersoft:Table.Columns>
        <Intersoft:TableRowGroup>
            <Intersoft:TableRow>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            No.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Employee Name
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Title
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
        </Intersoft:TableRowGroup>
        <Intersoft:TableRowGroup>
            <Intersoft:TableRow>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            1.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Johanna Woods
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Sales Member
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
            <Intersoft:TableRow>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            2.
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Andrew Smith
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Technical Support
                        </Intersoft:Run>

                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
        </Intersoft:TableRowGroup>
    </Intersoft:Table>
</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

Table Class
Table Members

Send Feedback