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


Gets or sets the secondary color of a legend item.


The second color which is used for a gradient

Syntax

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

Return Value

A Color structure. The default color is null (Color.Empty).

Remarks

This property determines the secondary background color of many Chart objects, and is used when gradient colors are being applied.

Only implemented if the LegendItem.Style property is set to LegendSeriesImageStyle.Rectangle.

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

If hatching is used then the BackGradientEndColor property determines the color of the hatching lines for the relevant chart element.

To use gradient colors for a legend cell's background:

  1. Set the primary color using the Color property.

  2. Set the secondary color using this BackGradientEndColor property.

  3. Set the BackGradientType property to the desired gradient style.

Note: This property is applicable only to LegendCells, with a CellType of SeriesSymbol, or Image.

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.