Title.TextStyle Property

Definition

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

public:
 property System::Windows::Forms::DataVisualization::Charting::TextStyle TextStyle { System::Windows::Forms::DataVisualization::Charting::TextStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::TextStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.TextStyle TextStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.TextStyle : System.Windows.Forms.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