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


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Backplane Class : Visible Property
Controls the visibility of the back plane.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DescriptionAttribute("Controls the visibility of the back plane.")>
Public Property Visible As Boolean
'Usage
 
Dim instance As Backplane
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
[Category("General")]
[Description("Controls the visibility of the back plane.")]
public bool Visible {get; set;}
Remarks
When set to False the back plane is not displayed. Note that some objects may have a disabled backplane by default - for example the legend data items.
Example
The following example adds a new data item to the legend and enables the backplane.
Dim legend As Legend = CType((ChartControl.Legends(0)), Legend)
legend.Mode = LegendMode.Manual
Dim item As LegendDataItem =  New LegendDataItem() 
item.Text = "Enable item back plane"
legend.Data.TextProps.Backplane.Visible = True
legend.Data.Array.Add(item)
Legend legend = (Legend)(ChartControl.Legends[0]);
legend.Mode = LegendMode.Manual;
LegendDataItem item = new LegendDataItem();
item.Text = "Enable item back plane";
legend.Data.TextProps.Backplane.Visible = true;
legend.Data.Array.Add(item);
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

Backplane Class
Backplane Members