Intersoft ClientUI Documentation
BorderStyle Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Block Class : BorderStyle Property






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

Syntax

Visual Basic (Declaration) 
Public Property BorderStyle As BorderLineStyle
Visual Basic (Usage)Copy Code
Dim instance As Block
Dim value As BorderLineStyle
 
instance.BorderStyle = value
 
value = instance.BorderStyle
C# 
public BorderLineStyle BorderStyle {get; set;}
Delphi 
public read-write property BorderStyle: BorderLineStyle; 
JScript 
public function get,set BorderStyle : BorderLineStyle
Managed Extensions for C++ 
public: __property BorderLineStyle get_BorderStyle();
public: __property void set_BorderStyle( 
   BorderLineStyle value
);
C++/CLI 
public:
property BorderLineStyle BorderStyle {
   BorderLineStyle get();
   void set (    BorderLineStyle value);
}

Remarks

You can specify border formatting in Block elements. To specify global configuration for border, you can use BorderThickness, BorderBrush, and BorderStyle properties. BorderThickness property determines the border thickness of the element. BorderBrush property determines the Brush used to render the border.

BorderStyle property determines the line style of the border. Several predefined border style options are Single, Dot, DashDot, DashDotDot, DashLargeGap, and DashSmallGap.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph LineSpacingType="OneAndHalfLines" Padding="10" BorderBrush="DarkGray"
                            BorderThickness="2" 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 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.