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






Gets or sets the border thickness of the element.

Syntax

Visual Basic (Declaration) 
Public Property BorderThickness As Thickness
Visual Basic (Usage)Copy Code
Dim instance As Block
Dim value As Thickness
 
instance.BorderThickness = value
 
value = instance.BorderThickness
C# 
public Thickness BorderThickness {get; set;}
Delphi 
public read-write property BorderThickness: Thickness; 
JScript 
public function get,set BorderThickness : Thickness
Managed Extensions for C++ 
public: __property Thickness get_BorderThickness();
public: __property void set_BorderThickness( 
   Thickness value
);
C++/CLI 
public:
property Thickness BorderThickness {
   Thickness get();
   void set (    Thickness 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.