Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Legend Class / Backplane Property
Example


In This Topic
    Backplane Property (Legend)
    In This Topic
    The backplane applied on the legend.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("The backplane applied on the legend")>
    Public Property Backplane As Backplane
    'Usage
     
    Dim instance As Legend
    Dim value As Backplane
     
    instance.Backplane = value
     
    value = instance.Backplane
    [Category("Appearance")]
    [Description("The backplane applied on the legend")]
    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