Dundas Chart for ASP.NET
FrameBorderColor Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > BorderSkinAttributes Class : FrameBorderColor Property


Gets or sets the color of the frame's border.


Skin frame border color.

Syntax

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

Return Value

A Color structure that represents the border color of the skin's frame. The default is Color.Black.

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.WebControl
...

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

You can set this property to any valid ARGB (Alpha, Red, Green, Blue) value.

To display a border the FrameBorderWidth and FrameBorderStyle properties must 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.