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


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


Skin frame border line style.

Syntax

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

Return Value

A ChartDashStyle enumeration value that determines the border style of the skin's frame.

Example

The following sample specifies a border skin that uses a frame in the Page_Load event. We also use a border for the frame.

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 style used for a frame's border. The line can be solid, dotted, etc. .

For further styles see the ChartDashStyle enumeration topic.

 To display a border the FrameBorderWidth 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.