Sdílet prostřednictvím


LegendItem.ImageStyle Vlastnost

Definice

Získá nebo nastaví styl zobrazení obrázku položky legendy.

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

Hodnota vlastnosti

Hodnota LegendImageStyle výčtu, která určuje styl zobrazení obrázku položky legendy.

Atributy

Poznámky

Tyto styly určují, jak se zobrazí odpovídající symbol položky.

Styl Line lze kombinovat se stylem Marker . Chcete-li toho dosáhnout, nejprve nastavte ImageStyle vlastnost na Line. Potom pomocí MarkerImage vlastnosti určete obrázek značky nebo MarkerStyle vlastnost k určení stylu značky. Výsledný symbol bude kombinací čáry a obrázku nebo značky.

Poznámka:

Tato vlastnost se vztahuje pouze na LegendCell objekty s LegendCellType nebo SeriesSymbolImage.

Platí pro