Class TabDataCollection
Represents a collection of ITabData objects.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabDataCollection : ArrayList, IList, ICollection, IEnumerable, ICloneable
Constructors
TabDataCollection(ITabPanelData)
Creates a new instance of the TabDataCollection class.
Declaration
public TabDataCollection(ITabPanelData owner)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | owner | The ITabPanelData that contains this collection. |
Properties
Item[Int32]
Gets / sets the indexer for this collection.
Declaration
public override object this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
System.Object | A ITabData object. |
Overrides
Methods
Add(Object)
Overridden. See System.Collections.ArrayList.Add(System.Object).
Declaration
public override int Add(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type |
---|
System.Int32 |
Overrides
Clear()
Overridden. See System.Collections.ArrayList.Clear().
Declaration
public override void Clear()
Overrides
Insert(Int32, Object)
Overridden. See System.Collections.ArrayList.Insert(System.Int32, System.Object).
Declaration
public override void Insert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
InsertRange(Int32, ICollection)
Overridden. See System.Collections.ArrayList.InsertRange(System.Int32, System.Collections.ICollection).
Declaration
public override void InsertRange(int index, ICollection c)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Collections.ICollection | c |
Overrides
Move(Int32, Int32, Int32)
Moves items from one location to another.
Declaration
public virtual void Move(int from, int to, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | from | The starting index. |
System.Int32 | to | The target index. |
System.Int32 | count | The number of items to move. |
OnCollectionAffected()
Calls the CollectionAffected event.
Declaration
protected virtual void OnCollectionAffected()
OnCollectionChanging()
Called when the collection is about to change.
Declaration
protected virtual void OnCollectionChanging()
Remove(Object)
Overridden. See System.Collections.ArrayList.Remove(System.Object).
Declaration
public override void Remove(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Overrides
RemoveAt(Int32)
Overridden. See System.Collections.ArrayList.RemoveAt(System.Int32).
Declaration
public override void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
RemoveRange(Int32, Int32)
Overridden. See System.Collections.ArrayList.RemoveRange(System.Int32, System.Int32).
Declaration
public override void RemoveRange(int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | count |
Overrides
Reverse(Int32, Int32)
Overridden. See System.Collections.ArrayList.Reverse(System.Int32, System.Int32).
Declaration
public override void Reverse(int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | count |
Overrides
SetRange(Int32, ICollection)
Overridden. See System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection).
Declaration
public override void SetRange(int index, ICollection c)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Collections.ICollection | c |
Overrides
Sort(Int32, Int32, IComparer)
Overridden. See System.Collections.ArrayList.Sort(System.Int32, System.Int32, System.Collections.IComparer).
Declaration
public override void Sort(int index, int counter, IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int32 | counter | |
System.Collections.IComparer | comparer |
Overrides
Events
CollectionAffected
Fired when this collection is affected.
Declaration
public event EventHandler CollectionAffected
Event Type
Type |
---|
System.EventHandler |