ClassMultiObjectCollection
Represents a collection of objects. It can be used in a property grid to edit the common properties of the objects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class MultiObjectCollection : IEnumerable
Inheritance: objectMultiObjectCollection
Implements:
Constructors
MultiObjectCollection()
Creates a new empty MultiObjectCollection.
Declaration
public MultiObjectCollection()
MultiObjectCollection(object[])
Creates a new MultiObjectCollection with the specified objects.
Declaration
public MultiObjectCollection(object[] objects)
Parameters
objects
object[]
The objects to fill the collection with.
Properties
Count
Gets the number of items currently in the collection.
IsReadOnly
Gets a value indicating whether the collection si read only. Always returns false.
Methods
Add(object)
Adds an object to the collection.
Declaration
public void Add(object item)
Parameters
item
The object to add.
Contains(object)
Checks whether the collection contains the given object.
CopyTo(object[], int)
Copies the objects from the collection to a specified array starting at the given index.
IndexOf(object)
Gets the index of a given object.
Insert(int, object)
Inserts an object in the given index.
Remove(object)
Removes a specified object from the collection.
RemoveAt(int)
Removes an object from the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The index to remove from.