Editar

Compartir a través de


LegendItem.ImageStyle Property

Definition

Gets or sets the display style of the legend item image.

public:
 property System::Windows::Forms::DataVisualization::Charting::LegendImageStyle ImageStyle { System::Windows::Forms::DataVisualization::Charting::LegendImageStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::LegendImageStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.LegendImageStyle ImageStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ImageStyle : System.Windows.Forms.DataVisualization.Charting.LegendImageStyle with get, set
Public Property ImageStyle As LegendImageStyle

Property Value

A LegendImageStyle enumeration value that specifies the display style of the legend item image.

Attributes

Remarks

These styles determine how the item's corresponding symbol will be displayed.

A Line style can be combined with a Marker style. To accomplish this, first set the ImageStyle property to Line. Then use the MarkerImage property to specify a marker image, or the MarkerStyle property to specify a marker style. The resulting symbol will be a combination of a line and an image or marker.

Note

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to