LegendItem.ImageStyle Właściwość

Definicja

Pobiera lub ustawia styl wyświetlania obrazu elementu legendy.

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

Wartość właściwości

LegendImageStyle Wartość wyliczenia.

Atrybuty

Uwagi

Te style określają sposób wyświetlania odpowiedniego symbolu elementu.

Styl Line można połączyć ze stylem Marker . Aby to osiągnąć, najpierw ustaw ImageStyle właściwość na Linewartość . Następnie użyj MarkerImage właściwości , aby określić obraz znacznika lub MarkerStyle właściwość w celu określenia stylu znacznika. Wynikowy symbol będzie kombinacją linii i obrazu lub znacznika.

Uwaga

Ta właściwość ma zastosowanie tylko do LegendCell obiektów z wartością LegendCellTypeSeriesSymbol lub Image.

Dotyczy