Xceed Chart for WinForms v4.4 Documentation
TextProps Property (LegendData)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendData Class : TextProps Property
The text properties of the legend data item texts.
Syntax
'Declaration
 
<DescriptionAttribute("The text properties of the legend data item texts.")>

<CategoryAttribute("General")>

Public Property TextProps As ChartText
'Usage
 
Dim instance As LegendData

Dim value As ChartText

 

instance.TextProps = value

 

value = instance.TextProps
[Description("The text properties of the legend data item texts.")]

[Category("General")]

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

Reference

LegendData Class
LegendData Members