dotnetCHARTING Send comments on this topic.
LegendBox Class Members
See Also  Properties  Methods 
dotnetCHARTING Namespace : LegendBox Class


The following tables list the members exposed by LegendBox.

Public Constructors

  Name Description
Public Constructor LegendBox Constructor Initializes a new instance of the LegendBox class.  
Top

Public Properties

  Name Description
Public Property Background Gets or sets a background object used to fill the interior of this box. (Inherited from Box)
Public Property ColumnAlignments Gets or sets an array of StringAlignment enumeration members that specify the alignment of each column respectively. This setting applies for all legend entries in this legend box.  
Public Property CornerBottomLeft Gets or sets the bottom left corner style. (Inherited from Box)
Public Property CornerBottomRight Gets or sets the bottom right corner style. (Inherited from Box)
Public Property CornerSize Gets or sets a value that indicates the corner size in pixels. This size is used with BoxCorner settings. This setting is limited to 0-8 pixels. (Inherited from Box)
Public Property CornerTopLeft Gets or sets the top left corner style. (Inherited from Box)
Public Property CornerTopRight Gets or sets the top right corner style. (Inherited from Box)
Public Property DataSource Source of objects to populate the legend with.  
Public Property DefaultCorner Gets or sets the default box corner style. (Inherited from Box)
Public Property DefaultEntry Gets or sets a LegendEntry that behaves as a vehicle for property settings that will propagate to all entries in this LegendBox.  
Public Property ExtraEntries Gets a collection of additional LegendEntry objects that are added to this LegendBox.  
Public Property HeaderBackground Gets or sets a Background object that is used to fill the background of this boxes header. (Inherited from Box)
Public Property HeaderEntry Gets or sets a LegendEntry that is used as a header of this LegendBox.  
Public Property HeaderLabel Gets or sets a Label object that is placed in a header above this box object. A header will not be shown if the label does not contain any text. (Inherited from Box)
Public Property IconPath Gets or sets the icon path of this title box. (Inherited from Box)
Public Property InteriorLine Gets or sets the interior line of this legend box. (Inherited from Box)
Public Property Label Obsolete, please use LegendBox.LabelStyle instead.  
Public Property LabelStyle Gets or sets a Label object that encapsulates default label style properties applied to legend entries drawn in this LegendBox.  
Public Property Line Gets or sets the exterior line of this box. (Inherited from Box)
Public Property ListTopToBottom Gets or sets a value that indicates whether legend entries are listed top to bottom in multi-column legend boxes.  
Public Property Orientation Gets or sets this object's orientation around a ChartArea. (Inherited from Box)
Public Property Padding Gets or sets a value in pixels that represents the padding between objects within the box and the box walls. (Inherited from Box)
Public Property Position Gets or sets the position of this box. When using with Series.GaugeBorderBox.Position, this property can take a Size or Rectangle object. (Inherited from Box)
Public Property Shadow Gets or sets the Shadow cast under this box. (Inherited from Box)
Public Property Template Gets or sets the legend entry column layout of this legend box.  
Public Property Visible Gets or sets a value that indicates whether this box is visible. (Inherited from Box)
Top

Public Methods

  Name Description
Public Method ClearColors Serves as a shortcut to make this box invisible. (Inherited from Box)
Public Method GetCoordinates Gets the coordinates of this box after the chart is rendered. (Inherited from Box)
Public Method GetRectangle Gets a Rectangle object indicating this boxes position and size after the chart is rendered. (Inherited from Box)
Top

See Also