Nevron .NET Vision
Nevron.GraphicsCore Namespace / NBackplaneStyle Class / Visible Property
Example


In This Topic
    Visible Property (NBackplaneStyle)
    In This Topic
    Controls the visibility of the back plane.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Controls the visibility of the back plane.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Property Visible As System.Boolean
    'Usage
     
    
    Dim instance As NBackplaneStyle
    Dim value As System.Boolean
     
    instance.Visible = value
     
    value = instance.Visible
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Controls the visibility of the back plane.")]
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(true)]
    public System.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 NLegend = CType((NChartControl.Legends(0)), NLegend)
    legend.Mode = LegendMode.Manual
    Dim item As NLegendDataItem =  New NLegendDataItem() 
    item.Text = "Enable item back plane"
    legend.Data.TextProps.Backplane.Visible = True
    legend.Data.Array.Add(item)
    NLegend legend = (NLegend)(NChartControl.Legends[0]);
    legend.Mode = LegendMode.Manual;
    NLegendDataItem item = new NLegendDataItem();
    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