Class PrimitiveCollection
A collection that stores Primitive objects.
Inheritance
System.Object
PrimitiveCollection
Implements
System.ICloneable
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class PrimitiveCollection : CollectionBase, ICloneable
Constructors
PrimitiveCollection()
Initializes a new instance of 'PrimitiveCollection'.
Declaration
public PrimitiveCollection()
Properties
Item[Int32]
Indexer.
Declaration
public Primitive this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type |
|---|
| Primitive |
Methods
Add(Primitive)
Adds primitive to collection.
Declaration
public void Add(Primitive primitive)
Parameters
| Type | Name | Description |
|---|---|---|
| Primitive | primitive |
AddRange(Primitive[])
Adds primitives to collection.
Declaration
public void AddRange(Primitive[] primitives)
Parameters
| Type | Name | Description |
|---|---|---|
| Primitive[] | primitives |
Clone()
Declaration
public virtual object Clone()
Returns
| Type |
|---|
| System.Object |
OnClear()
Declaration
protected override void OnClear()
OnCollectionChanged(CollectionChangeEventArgs)
Declaration
protected virtual void OnCollectionChanged(CollectionChangeEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.CollectionChangeEventArgs | args |
Remove(Primitive)
Removes primitive from collection.
Declaration
public void Remove(Primitive primitive)
Parameters
| Type | Name | Description |
|---|---|---|
| Primitive | primitive |
Events
CollectionChanged
Raise by OnCollectionChanged(CollectionChangeEventArgs) method.
Declaration
public event CollectionChangeEventHandler CollectionChanged
Event Type
| Type |
|---|
| System.ComponentModel.CollectionChangeEventHandler |
Implements
System.ICloneable