Nevron .NET Vision
Nevron.Chart Namespace / NLabel Class / Text Property
Example


In This Topic
    Text Property (NLabel)
    In This Topic
    The text displayed by the label.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Text")>
    <System.ComponentModel.DescriptionAttribute("The text displayed by the label")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Text As System.String
    'Usage
     
    
    Dim instance As NLabel
    Dim value As System.String
     
    instance.Text = value
     
    value = instance.Text
    [System.ComponentModel.Category("Text")]
    [System.ComponentModel.Description("The text displayed by the label")]
    [System.Xml.Serialization.XmlAttribute()]
    public System.string Text {get; set;}
    Example
    Dim label As NLabel =  New NLabel() 
    label.Text = "Hello world"
    nChartControl1.Labels.Add(label)
    NLabel label = new NLabel();
    label.Text = "Hello world";
    nChartControl1.Labels.Add(label);
    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