Gets or sets the legend item's style.
Legend item picture style.
Visual Basic (Declaration) | |
---|---|
Public Property Style As LegendImageStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public LegendImageStyle Style {get; set;} |
Return Value
A LegendImageStyle enumeration value that represents the item style.
These styles determine how the item's corresponding symbol will be displayed.
Note that the a "Line" style can be combined with a "Marker" style. To do this set Style to LegendImageStyle.Line, and specify either a marker image using the MarkerImage property or a marker style using the MarkerStyle property. The resulting symbol will then be a combination of a line and image or marker.
Note: This property is applicable only to LegendCells, with a CellType of SeriesSymbol, or Image.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family