Share via


LegendItem.ImageStyle Propiedad

Definición

Obtiene o establece el estilo de presentación de la imagen de elemento de leyenda.

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

Valor de propiedad

Valor de enumeración de LegendImageStyle.

Atributos

Comentarios

Estos estilos determinan cómo se mostrará el símbolo correspondiente del elemento.

Un Line estilo se puede combinar con un Marker estilo. Para ello, establezca primero la ImageStyle propiedad en Line. A continuación, utilice la MarkerImage propiedad para especificar una imagen de marcador o la MarkerStyle propiedad para especificar un estilo de marcador. El símbolo resultante será una combinación de una línea y una imagen o marcador.

Nota

Esta propiedad solo es aplicable a LegendCell objetos con un LegendCellType de SeriesSymbol o Image.

Se aplica a