Intersoft ClientUI Documentation
BottomBorderStyle Property (AnchoredBlock)



Gets or sets the border style used when painting the element's bottom border.

Syntax
public BorderLineStyle BottomBorderStyle {get; set;}
public:
property BorderLineStyle BottomBorderStyle {
   BorderLineStyle get();
   void set (    BorderLineStyle value);
}
Public Property BottomBorderStyle As BorderLineStyle
 
Dim instance As AnchoredBlock
Dim value As BorderLineStyle
 
instance.BottomBorderStyle = value
 
value = instance.BottomBorderStyle
Remarks

Besides global formatting, you can specify border thickness, brush, and style in each side of the border. For the left side of the border, you can use LeftBorderBrush and LeftBorderStyle properties. For the top side of the border, you can use TopBorderBrush and TopBorderStyle properties. For the right side of the border, you can use RightBorderBrush and RightBorderStyle properties. For the bottom side of the border, you can use BottomBorderBrush and BottomBorderStyle properties. BorderThickness uses Thickness-typed value, so you can specify the thickness of each side easily. Note that the individual border configuration will override the global border configuration.

XAML
Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph Padding="10" TopBorderBrush="DarkGray" LeftBorderBrush="OrangeRed" 
                            BottomBorderBrush="DarkMagenta" RightBorderBrush="Maroon" BorderThickness="4 2" 
                            BottomBorderStyle="Single" LeftBorderStyle="DashSmallGap" BorderStyle="DashDotDot">
        <Intersoft:Run>
            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
        </Intersoft:Run>
    </Intersoft:Paragraph>
</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

AnchoredBlock Class
AnchoredBlock Members

Send Feedback