Intersoft ClientUI Documentation
Borders Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Table Class : Borders Property






Gets or sets the comma and semicolon separated string as border value.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")>
Public Shadows Property Borders As TableBorderStyle
Visual Basic (Usage)Copy Code
Dim instance As Table
Dim value As TableBorderStyle
 
instance.Borders = value
 
value = instance.Borders
C# 
[TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public new TableBorderStyle Borders {get; set;}
Delphi 
public read-write property Borders: TableBorderStyle; 
JScript 
TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")
public hide function get,set Borders : TableBorderStyle
Managed Extensions for C++ 
[TypeConverterAttribute("Intersoft.Client.Documents.TableBorderConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public: __property new TableBorderStyle* get_Borders();
public: __property new void set_Borders( 
   TableBorderStyle* value
);
C++/CLI 
[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 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.