LegendItem.ImageStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the display style of the legend item image.
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
Property Value
A LegendImageStyle enumeration value.
- 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.