[]
        
(Showing Draft Content)

C1.C1Preview.OwnedCollectionBase

OwnedCollectionBase Class

Represents a collection with an owner object. Notifies the owner of interesting events on the collection if the owner supports the C1.C1Preview.ICollectionOwner interface.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class OwnedCollectionBase : CollectionBase, IList, ICollection, IEnumerable

Constructors

Name Description
OwnedCollectionBase()

Initializes a new instance of the OwnedCollectionBase class.

OwnedCollectionBase(object)

Initializes a new instance of the OwnedCollectionBase class.

Properties

Name Description
Owner

Gets the owner of collection.

Methods

Name Description
AddInt(object)

For internal use.

AssignFrom(OwnedCollectionBase)

Clears the current collection, and copies the items from another one. The items are copied by cloning, and must support the ICloneable interface (if an item that does not support is encountered, an exception occurs).

Exchange(int, int)

Swap two items in collection.

GetByIndex(int)

For internal use.

IndexOf(object)

Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.

InsertInt(int, object)

For internal use.

OnClear()

Called when the collection is about to be cleared.

OnClearComplete()

Called after the collection has been cleared.

OnInsert(int, object)

Called when an item is about to be iserted.

OnInsertComplete(int, object)

Called after an item has been inserted.

OnRemove(int, object)

Called when an item is about to be removed.

OnRemoveComplete(int, object)

Called after an item has been removed.

OnSet(int, object, object)

Called when an item is about to be set.

OnSetComplete(int, object, object)

Called after an item has been set.

RemoveInt(object)

For internal use.

SetByIndex(int, object)

For internal use.