Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / LegendText Class / Text Property
Example


In This Topic
    Text Property (LegendText)
    In This Topic
    The texts displayed as legend header or footer.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The texts displayed as legend header or footer.")>
    Public Property Text As String
    'Usage
     
    Dim instance As LegendText
    Dim value As String
     
    instance.Text = value
     
    value = instance.Text
    [Category("General")]
    [Description("The texts displayed as legend header or footer.")]
    public string Text {get; set;}
    Example
    The following code modifies the legend header and footer texts.
    legend.Footer.Text = "Legend Footer"
    legend.Header.Text = "Legend Header"
    legend.Footer.Text = "Legend Footer";
    legend.Header.Text = "Legend Header";
    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