This documentation is archived and is not being maintained.
LegendItem Properties
Visual Studio 2010
The LegendItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
BackGradientStyle | Gets or sets the orientation for the background gradient of a legend item. Also determines whether a gradient is used. |
|
BackHatchStyle | Gets or sets the hatching style of a legend item. |
|
BackImageTransparentColor | Gets or sets a color which will be replaced with a transparent color when the background image is drawn. |
|
BackSecondaryColor | Gets or sets the secondary color of a legend item. |
|
BorderColor | Gets or sets the border color of a legend item. |
|
BorderDashStyle | Gets or sets the border style of a legend item. |
|
BorderWidth | Gets or sets the border width of a legend item. |
|
Cells | Gets the collection of cells in the legend item. |
|
Color | Gets or sets the color of a legend item. |
|
Enabled | Gets or sets a flag that indicates whether the legend item is enabled. |
|
Image | Gets or sets the image that will be displayed for a legend item symbol. |
|
ImageStyle | Gets or sets the display style of the legend item image. |
|
Legend | Gets or sets the Legend object associated with this legend item. |
|
MapAreaAttributes | Gets or sets the map area attributes of a legend item. |
|
MarkerBorderColor | Gets or sets the border color of the markers, if used. |
|
MarkerBorderWidth | Gets or sets the border width of the markers, if used. Measured in pixels. |
|
MarkerColor | Gets or sets the color of the markers, if used. |
|
MarkerImage | Gets or sets a marker image. |
|
MarkerImageTransparentColor | Gets or sets a color that will be replaced with a transparent color when the marker image is drawn. |
|
MarkerSize | Gets or sets the size of the legend item markers, if used. |
|
MarkerStyle | Gets or sets a legend item marker style. Also used to enable or disable the display of markers. |
|
Name | Gets or sets the name of the legend item. (Overrides ChartNamedElement::Name.) |
|
PostBackValue | Gets or sets the postback value which can be processed on a Click event. |
|
SeparatorColor | Gets or sets the color of the legend item separator. |
|
SeparatorType | Gets or sets the separator style of the legend item. |
|
SeriesName | Gets or sets the name of the Series associated with a default legend item. |
|
SeriesPointIndex | Gets or sets the index of a DataPoint object associated with a default legend item. |
|
ShadowColor | Gets or sets the shadow color of a legend item. |
|
ShadowOffset | Gets or sets the shadow offset, in pixels, of a legend item. |
|
Tag | Gets or sets an object associated with this chart element. (Inherited from ChartElement.) |
|
ToolTip | Gets or sets the tooltip of the legend item. |
|
Url | Gets or sets the destination URL of a legend item. |
Show: