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


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


Skin frame second back color which is used for a gradient and hatching.

Syntax

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

Return Value

A Color structure. The default is Color.Empty.

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

This property determines the secondary background color of a border skin, and is used when gradient colors are applied.

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

If hatching is used then this property determines the color of the hatching lines.

To use gradient colors:

  1. Set the primary color using the FrameBackColor property. 
  2. Set the secondary color using this FrameBackGradientEndColor property.
  3. Set the FrameBackGradientType property to the desired gradient style.


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

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