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


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


Skin frame back ground color.

Syntax

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

Return Value

A Color structure. The default is Color.Gray.

Example

The following sample specifies a border skin that uses a frame in the Page_Load event. We also use gradient colors of blue and red 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 primary and secondary colors of the skin, and the gradient type
    Chart1.BorderSkin.FrameBackColor = Color.Red
    Chart1.BorderSkin.FrameBackGradientEndColor = Color.Blue
    Chart1.BorderSkin.FrameBackGradientType = GradientType.LeftRight

End Sub

Remarks

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

Setting this property for border skins that do not use frames (e.g. SkinStyle=BorderSkinStyle.Raised) 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.