Bewerken

Share via


LegendCellColumn.ColumnType Property

Definition

Gets or sets the legend cell column type.

public:
 virtual property System::Windows::Forms::DataVisualization::Charting::LegendCellColumnType ColumnType { System::Windows::Forms::DataVisualization::Charting::LegendCellColumnType get(); void set(System::Windows::Forms::DataVisualization::Charting::LegendCellColumnType value); };
public virtual System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType ColumnType { get; set; }
member this.ColumnType : System.Windows.Forms.DataVisualization.Charting.LegendCellColumnType with get, set
Public Overridable Property ColumnType As LegendCellColumnType

Property Value

A LegendCellColumnType enumeration value that represents the legend cell column type. This value represents the type that will be used to define the legend cell column contents. The default value is Text.

Remarks

This property determines the type of content that will be displayed in each individual legend cell column. There are two possible values:

  • Text: By default, the #LEGENDTEXT keyword is used to place the LegendText value in each cell column. However, you can use the Text property to set any keyword(s) that will be replaced by a value of the corresponding series.

  • SeriesSymbol: The legend cell will contain a series symbol, such as a rectangle, line, line with marker, or marker, of the same fill color as its corresponding series.

Applies to