Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / LegendData Class / TextProps Property
Example


In This Topic
    TextProps Property (LegendData)
    In This Topic
    The text properties of the legend data item texts.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The text properties of the legend data item texts.")>
    Public Property TextProps As ChartText
    'Usage
     
    Dim instance As LegendData
    Dim value As ChartText
     
    instance.TextProps = value
     
    value = instance.TextProps
    [Category("General")]
    [Description("The text properties of the legend data item texts.")]
    public ChartText TextProps {get; set;}
    Remarks
    With the help of this property you can control the font of the legend items texts and other properties related to texts.
    Example
    The following code changes the font used to display legend data items:
    legend.Data.TextProps.Font = New Font("Arial", 13)
    legend.Data.TextProps.Font = new Font("Arial", 13);
    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