Class TrendlineCollection
Collection of TrendLines. A trend line is a graph drawn to indicate the price value of comparisons.
Inheritance
System.Object
System.Collections.CollectionBase
TrendlineCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class TrendlineCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
TrendlineCollection()
Initializes a new instance of the
Declaration
public TrendlineCollection()
Properties
Item[Int32]
Returns the trend line stored in the specified index.
Declaration
public Trendline this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
Trendline |
Methods
Add(Trendline)
Adds the specified trend line to this collection.
Declaration
public void Add(Trendline trendline)
Parameters
Type | Name | Description |
---|---|---|
Trendline | trendline |
IndexOf(Trendline)
Looks up the collection and returns the index value of the specified trend line.
Declaration
public int IndexOf(Trendline trendline)
Parameters
Type | Name | Description |
---|---|---|
Trendline | trendline |
Returns
Type | Description |
---|---|
System.Int32 | The index value if the look up was successful; -1 otherwise. |
Insert(Int32, Trendline)
Inserts the specified trend line at the specified index value.
Declaration
public void Insert(int index, Trendline trendline)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index value where the instance of the specified trend line is to be inserted. |
Trendline | trendline |
Remove(Trendline)
Removes the specified trend line from this collection.
Declaration
public void Remove(Trendline trendline)
Parameters
Type | Name | Description |
---|---|---|
Trendline | trendline |
Events
Changed
Event that is raised when this collection is changed.
Declaration
public event EventHandler Changed
Event Type
Type |
---|
System.EventHandler |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable