This documentation is archived and is not being maintained.

Title::TextStyle Property

Gets or sets the style of the text for the title.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[PersistenceModeAttribute(PersistenceMode::Attribute)]
[BindableAttribute(true)]
public:
property TextStyle TextStyle {
	TextStyle get ();
	void set (TextStyle value);
}

Property Value

Type: System.Web.UI.DataVisualization.Charting::TextStyle
A TextStyle enumeration value that determines the style of the text for the title. The default value is Default.

There are five possible styles for title text: Default, Shadow, Emboss, Embed, and Frame. Refer to the table below for a summary of these styles:

Style

Description

Default

Text is displayed using the desired font and color, with no additional effects.

Shadow

Text is displayed using the desired font and color with an added shadow effect on the text.

Emboss

Text is displayed using the desired font and color but drawn with an embossing effect.

Embed

Text is displayed using the desired font and color but drawn with an embedding effect.

Frame

Text is displayed using the desired font and color but drawn as an outline of the text, that is, with no fill.

.NET Framework

Supported in: 4

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: