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


Gets or sets the background color of a legend.


Legend background color

Syntax

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

Return Value

A Color structure. The default color is white.

Remarks

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

The BackColor value will be the first color used if you are using gradient colors for the background.

If you set this color to transparent (e.g. use an Alpha value of 0) then no color will be assigned to the element's background and as a result the background will be transparent.

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.