Export (0) Print
Expand All

LegendItem Properties

The LegendItem type exposes the following members.

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