Xceed Chart for WinForms v4.4 Documentation
Backplane Property (Legend)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Legend Class : Backplane Property
The backplane applied on the legend.
Syntax
'Declaration
 
<DescriptionAttribute("The backplane applied on the legend")>

<CategoryAttribute("Appearance")>

Public Property Backplane As Backplane
'Usage
 
Dim instance As Legend

Dim value As Backplane

 

instance.Backplane = value

 

value = instance.Backplane
[Description("The backplane applied on the legend")]

[Category("Appearance")]

public Backplane Backplane {get; set;}
Remarks
You can use the backplane of the legend for various purposes for example to draw the user attention to the legend or to increase the readability.
Example
The following example changes the legend background to red.
Dim legend As Legend = CType((NChartControl.Legends(0)), Legend)

legend.Backplane.Visible = True

legend.Backplane.FillEffect.SetSolidColor(Color.Red)
Legend legend = (Legend)(NChartControl.Legends[0]);

legend.Backplane.Visible = true;

legend.Backplane.FillEffect.SetSolidColor(Color.Red);
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Legend Class
Legend Members