Click or drag to resize

KryptonContextMenuItemCollection Class

Manage the items that can be added to a standard menu item collection.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitTypedCollectionKryptonContextMenuItemBase
    Internal.ComponentFactory.Krypton.ToolkitTypedRestrictCollectionKryptonContextMenuItemBase
      Internal.ComponentFactory.Krypton.ToolkitKryptonContextMenuItemCollection

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 KryptonContextMenuItemCollection : TypedRestrictCollection<KryptonContextMenuItemBase>

The KryptonContextMenuItemCollection type exposes the following members.

Constructors
  NameDescription
Public methodKryptonContextMenuItemCollection
Initializes a new instance of the KryptonContextMenuItemCollection 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 propertyItemInt32
Gets or sets the item at the specified index.
(Inherited from TypedCollectionT.)
Public propertyItemString
Gets the item with the provided unique name.
(Inherited from TypedCollectionT.)
Public propertyRestrictTypes
Gets an array of types that the collection is restricted to contain.
(Overrides TypedRestrictCollectionTRestrictTypes.)
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 TypedRestrictCollectionT.)
Public methodAdd(T)
Append an item to the collection.
(Inherited from TypedRestrictCollectionT.)
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 TypedRestrictCollectionT.)
Public methodInsert(Int32, T)
Inserts an item to the collection at the specified index.
(Inherited from TypedRestrictCollectionT.)
Protected methodIsTypeAllowed
Discover if the incoming type is allowed to be in the collection.
(Inherited from TypedRestrictCollectionT.)
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 methodProcessShortcut
Test for the provided shortcut and perform relevant action if a match is found.
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