Click or drag to resize

KryptonCommandCollection Class

Manages a collection of KryptonCommand instances.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitTypedCollectionKryptonCommand
    Internal.ComponentFactory.Krypton.ToolkitKryptonCommandCollection

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 KryptonCommandCollection : TypedCollection<KryptonCommand>

The KryptonCommandCollection type exposes the following members.

Constructors
  NameDescription
Public methodKryptonCommandCollection
Initializes a new instance of the KryptonCommandCollection class
Top
Properties
  NameDescription
Public propertyCount
Gets the number of items in collection.
(Inherited from TypedCollectionT.)
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
(Inherited from TypedCollectionT.)
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
(Inherited from TypedCollectionT.)
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
(Inherited from TypedCollectionT.)
Public propertyItemString
Gets the item with the provided name.
(Overrides TypedCollectionTItemString.)
Public propertyItemInt32
Gets or sets the item at the specified index.
(Inherited from TypedCollectionT.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
(Inherited from TypedCollectionT.)
Top
Methods
  NameDescription
Public methodAdd(Object)
Append an item to the collection.
(Inherited from TypedCollectionT.)
Public methodAdd(T)
Append an item to the collection.
(Inherited from TypedCollectionT.)
Public methodAddRange
Append an array of items.
(Inherited from TypedCollectionT.)
Public methodClear
Remove all items from the collection.
(Inherited from TypedCollectionT.)
Public methodContains(Object)
Determines whether the collection contains the item.
(Inherited from TypedCollectionT.)
Public methodContains(T)
Determines whether the collection contains the item.
(Inherited from TypedCollectionT.)
Public methodCopyTo(Array, Int32)
Copies all the elements of the current collection to the specified Array.
(Inherited from TypedCollectionT.)
Public methodCopyTo(T, Int32)
Copies items to specified array starting at particular index.
(Inherited from TypedCollectionT.)
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.
(Inherited from TypedCollectionT.)
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.
(Inherited from TypedCollectionT.)
Public methodIndexOf(T)
Determines the index of the specified item in the collection.
(Inherited from TypedCollectionT.)
Public methodInsert(Int32, Object)
Inserts an item to the collection at the specified index.
(Inherited from TypedCollectionT.)
Public methodInsert(Int32, T)
Inserts an item to the collection at the specified index.
(Inherited from TypedCollectionT.)
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.
(Inherited from TypedCollectionT.)
Public methodMoveBefore
Move the source item to be immediately before the target item.
(Inherited from TypedCollectionT.)
Protected methodOnCleared
Raises the Cleared event.
(Inherited from TypedCollectionT.)
Protected methodOnClearing
Raises the Clearing event.
(Inherited from TypedCollectionT.)
Protected methodOnInserted
Raises the Inserted event.
(Inherited from TypedCollectionT.)
Protected methodOnInserting
Raises the Inserting event.
(Inherited from TypedCollectionT.)
Protected methodOnRemoved
Raises the Removed event.
(Inherited from TypedCollectionT.)
Protected methodOnRemoving
Raises the Removing event.
(Inherited from TypedCollectionT.)
Protected methodOnReordered
Raises the Reordered event.
(Inherited from TypedCollectionT.)
Public methodRemove(Object)
Removes first occurance of specified item.
(Inherited from TypedCollectionT.)
Public methodRemove(T)
Removes first occurance of specified item.
(Inherited from TypedCollectionT.)
Public methodRemoveAt
Removes the item at the specified index.
(Inherited from TypedCollectionT.)
Public methodToString
Obtains the String representation of this instance.
(Inherited from TypedCollectionT.)
Top
Events
  NameDescription
Public eventCleared
Occurs when an items have been removed from the collection.
(Inherited from TypedCollectionT.)
Public eventClearing
Occurs when an items are about to be removed from the collection.
(Inherited from TypedCollectionT.)
Public eventInserted
Occurs when an item has been added/inserted to the collection.
(Inherited from TypedCollectionT.)
Public eventInserting
Occurs when an item is about to be added/inserted to the collection.
(Inherited from TypedCollectionT.)
Public eventRemoved
Occurs when an item is removed from the collection.
(Inherited from TypedCollectionT.)
Public eventRemoving
Occurs when an item is about to be removed from the collection.
(Inherited from TypedCollectionT.)
Public eventReordered
Occurs when items have been reordered inside the collection.
(Inherited from TypedCollectionT.)
Top
Extension Methods
See Also