Upravit

Sdílet prostřednictvím


Title.TextStyle Property

Definition

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

public:
 property System::Web::UI::DataVisualization::Charting::TextStyle TextStyle { System::Web::UI::DataVisualization::Charting::TextStyle get(); void set(System::Web::UI::DataVisualization::Charting::TextStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.TextStyle TextStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.TextStyle : System.Web.UI.DataVisualization.Charting.TextStyle with get, set
Public Property TextStyle As TextStyle

Property Value

A TextStyle enumeration value that determines the style of the text for the title. The default value is Default.

Attributes

Remarks

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.

Applies to