Class ChartStripLineCollection
Collection of ChartStripLines. A strip line is a band that is drawn on the background of the chart, to highlight areas of interest. ChartStripLine
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartStripLineCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ChartStripLineCollection()
Initializes a new instance of the ChartStripLineCollection class.
Declaration
public ChartStripLineCollection()
Properties
Item[Int32]
Returns the strip line stored in the specified index.
Declaration
public ChartStripLine this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ChartStripLine |
Methods
Add(ChartStripLine)
Adds the specified strip line to this collection.
Declaration
public void Add(ChartStripLine stripLine)
Parameters
Type | Name | Description |
---|---|---|
ChartStripLine | stripLine | An instance of the strip line that is to be added to the collection. |
IndexOf(ChartStripLine)
Looks up the collection and returns the index value of the specified strip line.
Declaration
public int IndexOf(ChartStripLine stripLine)
Parameters
Type | Name | Description |
---|---|---|
ChartStripLine | stripLine | An instance of the strip line that is to be looked up in the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The index value if the look up was successful; -1 otherwise. |
Insert(Int32, ChartStripLine)
Inserts the specified strip line at the specified index value.
Declaration
public void Insert(int index, ChartStripLine stripLine)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index value where the instance of the specified strip line is to be inserted. |
ChartStripLine | stripLine | An instance of the stripline that is to be inserted at the specified index value. |
Remove(ChartStripLine)
Removes the specified strip line from this collection.
Declaration
public void Remove(ChartStripLine stripLine)
Parameters
Type | Name | Description |
---|---|---|
ChartStripLine | stripLine | Strip line that is to be removed. |
Events
Changed
Event that is raised when this collection is changed.
Declaration
public event EventHandler Changed
Event Type
Type |
---|
System.EventHandler |