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


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendText Class : TextProps Property
The text properties of the legend header or footer.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DescriptionAttribute("The text properties of the legend header or footer.")>
Public Property TextProps As ChartText
'Usage
 
Dim instance As LegendText
Dim value As ChartText
 
instance.TextProps = value
 
value = instance.TextProps
[Category("General")]
[Description("The text properties of the legend header or footer.")]
public ChartText TextProps {get; set;}
Remarks
With the help of this property you can control the font of the legend header or footer.
Example
The following code modifies the font used to display the legend header and footer.
legend.Footer.Text = "Legend Footer"
legend.Footer.TextProps.Font = New Font("Arial", 22)
legend.Header.Text = "Legend Header"
legend.Header.TextProps.Font = New Font("Arial", 22)
legend.Footer.Text = "Legend Footer";
legend.Footer.TextProps.Font = new Font("Arial", 22);
legend.Header.Text = "Legend Header";
legend.Header.TextProps.Font = new Font("Arial", 22);
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

LegendText Class
LegendText Members