Title.TextStyle Property

.NET Framework (current version)
 

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)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public TextStyle TextStyle { get; set; }

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
Available since 4.0
Return to top
Show: