Class NeedleCollection
Inheritance
System.Object
System.Collections.CollectionBase
NeedleCollection
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.OnClearComplete()
System.Collections.CollectionBase.OnInsertComplete(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.Gauge
Assembly: Syncfusion.Gauge.Windows.dll
Syntax
public class NeedleCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
NeedleCollection(RadialGauge)
Constructor for Needlecollection
Declaration
public NeedleCollection(RadialGauge sender)
Parameters
Type | Name | Description |
---|---|---|
RadialGauge | sender |
Properties
Item[Int32]
Gets the index of for the Needle
Declaration
public Needle this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
Needle |
Methods
Add(Needle)
Adds the Needle type to the list
Declaration
public int Add(Needle itemType)
Parameters
Type | Name | Description |
---|---|---|
Needle | itemType |
Returns
Type |
---|
System.Int32 |
Contains(Needle)
Returns whether the list contains the Needle type
Declaration
public bool Contains(Needle itemType)
Parameters
Type | Name | Description |
---|---|---|
Needle | itemType |
Returns
Type |
---|
System.Boolean |
FindByName(String)
searches the name in the list
Declaration
public Needle FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type |
---|
Needle |
IndexOf(Needle)
Returns the index of the needle type
Declaration
public int IndexOf(Needle itemType)
Parameters
Type | Name | Description |
---|---|---|
Needle | itemType |
Returns
Type |
---|
System.Int32 |
Insert(Int32, Needle)
Inserts the needle type into the list
Declaration
public void Insert(int index, Needle itemType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
Needle | itemType |
OnClear()
Overrides the clear method
Declaration
protected override void OnClear()
Overrides
System.Collections.CollectionBase.OnClear()
OnInsert(Int32, Object)
Overrides the oninsert method
Declaration
protected override void OnInsert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
OnRemove(Int32, Object)
overrides the onremove method
Declaration
protected override void OnRemove(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
Remove(Needle)
Removes the type from the list
Declaration
public void Remove(Needle itemType)
Parameters
Type | Name | Description |
---|---|---|
Needle | itemType |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable