Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
Initializes a new instance of the LegendItemsCollection.class with the specified
Initializes a new instance of the LegendItemsCollection and legend name.class with the specified
Used to remove, modify or change the order of both custom and default legend items in the CustomizeLegend event. Can also be used to add custom legend items.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The CustomizeLegend event.class is used in the
There are only two properties in this class. The LegendItems property allows you to delete or modify both default and custom legend items, and to add custom legend items. This property can also be used to change the order of legend items.
The LegendName property is used to identify the legend that raised this event.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.