[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OwnedCollectionBase-1

OwnedCollectionBase<TItem> Class

Base collection implementing IOwnedObject interface.

Inheritance
Collection<TItem>
OwnedCollectionBase<TItem>
Namespace: GrapeCity.Documents.Common
Assembly: DS.Documents.Imaging.dll
Syntax
public class OwnedCollectionBase<TItem> : Collection<TItem>, IList<TItem>, ICollection<TItem>, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IOwnedObject, IList, ICollection, IEnumerable
Public Class OwnedCollectionBase(Of TItem)
    Inherits Collection(Of TItem)
    Implements IList(Of TItem), ICollection(Of TItem), IReadOnlyList(Of TItem), IReadOnlyCollection(Of TItem), IEnumerable(Of TItem), IOwnedObject, IList, ICollection, IEnumerable
Type Parameters
Name Description
TItem

Constructors

Name Description
OwnedCollectionBase()

Properties

Name Description
Changed

Gets a value indicating whether the collection was changed.

Owner

Gets a collection owner.

Methods

Name Description
AddRange(IEnumerable<TItem>)

Adds all items from items to this collection.

AddRange(IEnumerable)

Adds all items from items to this collection.

ClearItems()
InsertItem(int, TItem)
OnChanged()

Called when collection is changed, sets Changed to true.

RemoveItem(int)
SetItem(int, TItem)
SetOwner(object)

Sets the owner of the current object.

Sort(IComparer<TItem>)

Sorts the elements in the entire collection using the specified IComparer<T>.

Sort(Comparison<TItem>)

Sorts the elements in the entire collection using the specified Comparison<T>.

Sort(int, int, IComparer<TItem>)

Sorts the elements in a range of elements using the specified IComparer<T>.