dotnetCHARTING Send comments on this topic.
DataSource Property
See Also 
dotnetCHARTING Namespace > LegendBox Class : DataSource Property



Source of objects to populate the legend with.

Syntax

Visual Basic (Declaration) 
Public Property DataSource As DataSource
Visual Basic (Usage)Copy Code
Dim instance As LegendBox
Dim value As DataSource
 
instance.DataSource = value
 
value = instance.DataSource
C# 
public DataSource DataSource {get; set;}
C++/CLI 
public:
property DataSource^ DataSource {
   DataSource^ get();
   void set (DataSource^ value);
}

Remarks

This DataSource is used with custom legend boxes added to Chart.ExtraLegendBoxes.

See Also