Click or drag to resize

TypedCollectionT Class

Manage a collection of specified reference instances.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitTypedCollectionT
    More...

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class TypedCollection<T> : IList, 
	ICollection, IEnumerable, IList<T>, ICollection<T>, IEnumerable<T>
where T : class

Type Parameters

T

The TypedCollectionT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of items in collection.
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
Public propertyItemInt32
Gets or sets the item at the specified index.
Public propertyItemString
Gets the item with the provided unique name.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
Top
Methods
  NameDescription
Public methodAdd(Object)
Append an item to the collection.
Public methodAdd(T)
Append an item to the collection.
Public methodAddRange
Append an array of items.
Public methodClear
Remove all items from the collection.
Public methodContains(Object)
Determines whether the collection contains the item.
Public methodContains(T)
Determines whether the collection contains the item.
Public methodCopyTo(Array, Int32)
Copies all the elements of the current collection to the specified Array.
Public methodCopyTo(T, Int32)
Copies items to specified array starting at particular index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Shallow enumerate over items in the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(Object)
Determines the index of the specified item in the collection.
Public methodIndexOf(T)
Determines the index of the specified item in the collection.
Public methodInsert(Int32, Object)
Inserts an item to the collection at the specified index.
Public methodInsert(Int32, T)
Inserts an item to the collection at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveAfter
Move the source item to be immediately after the target item.
Public methodMoveBefore
Move the source item to be immediately before the target item.
Protected methodOnCleared
Raises the Cleared event.
Protected methodOnClearing
Raises the Clearing event.
Protected methodOnInserted
Raises the Inserted event.
Protected methodOnInserting
Raises the Inserting event.
Protected methodOnRemoved
Raises the Removed event.
Protected methodOnRemoving
Raises the Removing event.
Protected methodOnReordered
Raises the Reordered event.
Public methodRemove(Object)
Removes first occurance of specified item.
Public methodRemove(T)
Removes first occurance of specified item.
Public methodRemoveAt
Removes the item at the specified index.
Public methodToString
Obtains the String representation of this instance.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventCleared
Occurs when an items have been removed from the collection.
Public eventClearing
Occurs when an items are about to be removed from the collection.
Public eventInserted
Occurs when an item has been added/inserted to the collection.
Public eventInserting
Occurs when an item is about to be added/inserted to the collection.
Public eventRemoved
Occurs when an item is removed from the collection.
Public eventRemoving
Occurs when an item is about to be removed from the collection.
Public eventReordered
Occurs when items have been reordered inside the collection.
Top
Extension Methods
See Also
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitTypedCollectionT
    Internal.ComponentFactory.Krypton.NavigatorDragTargetProviderCollection
    Internal.ComponentFactory.Krypton.NavigatorKryptonPageCollection
    Internal.ComponentFactory.Krypton.RibbonKryptonGalleryRangeCollection
    Internal.ComponentFactory.Krypton.RibbonKryptonRibbonContextCollection
    Internal.ComponentFactory.Krypton.RibbonKryptonRibbonGroupCollection
    Internal.ComponentFactory.Krypton.RibbonKryptonRibbonRecentDocCollection
    Internal.ComponentFactory.Krypton.RibbonKryptonRibbonTabCollection
    Internal.ComponentFactory.Krypton.ToolkitKryptonBreadCrumbItemBreadCrumbItems
    Internal.ComponentFactory.Krypton.ToolkitKryptonCommandCollection
    Internal.ComponentFactory.Krypton.ToolkitKryptonTaskDialogCommandCollection
    Internal.ComponentFactory.Krypton.ToolkitTypedRestrictCollectionT