Dundas Chart for Windows Forms
FrameBorderWidth Property
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > BorderSkinAttributes Class : FrameBorderWidth Property


Gets or sets the border width of the skin's frame.


Skin frame border line width.

Syntax

Visual Basic (Declaration)  
Public Property FrameBorderWidth As Integer
Visual Basic (Usage) Copy Code
Dim instance As BorderSkinAttributes
Dim value As Integer
 
instance.FrameBorderWidth = value
 
value = instance.FrameBorderWidth
C#  
public int FrameBorderWidth {get; set;}

Return Value

A value that determines the width of the frame's border, in pixels.

Example

The following sample specifies a border skin that uses a frame in the Page_Load event. We use a hatch pattern, with red hatch lines.
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
...

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    'specify skin style
    Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin6

    'set the border width, style and color
    Chart1.BorderSkin.FrameBorderWidth = 2
    Chart1.BorderSkin.FrameBorderStyle = ChartDashStyle.Solid
    Chart1.BorderSkin.FrameBorderColor = Color.Blue

End Sub

Remarks

This property determines the line width of a skin's frame border.

To display a border the FrameBorderStyle  property must also be set.

Setting this property for border skins that do not use frames will have no effect.

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

© 2009 All Rights Reserved.