Click or drag to resize

KryptonRibbonRibbonButtonSpecAnyCollection Class

Collection for managing ButtonSpecAny instances.
Inheritance Hierarchy

Namespace: Internal.ComponentFactory.Krypton.Ribbon
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class RibbonButtonSpecAnyCollection : ButtonSpecCollection<ButtonSpecAny>

The KryptonRibbonRibbonButtonSpecAnyCollection type exposes the following members.

Constructors
 NameDescription
Public methodKryptonRibbonRibbonButtonSpecAnyCollection Initialize a new instance of the RibbonButtonSpecAnyCollection class.
Top
Properties
 NameDescription
Public propertyCount Gets the number of button specs in collection.
(Inherited from ButtonSpecCollectionT)
Public propertyId Gets the unique identifier of the object.
(Inherited from GlobalId)
Public propertyIsFixedSize Gets a value indicating whether the collection has a fixed size.
(Inherited from ButtonSpecCollectionT)
Public propertyIsReadOnly Gets a value indicating whether the collection is read-only.
(Inherited from ButtonSpecCollectionT)
Public propertyIsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
(Inherited from ButtonSpecCollectionT)
Public propertyItemInt32 Gets or sets the button spec at the specified index.
(Inherited from ButtonSpecCollectionT)
Public propertyItemString Gets the button spec with the provided unique name.
(Inherited from ButtonSpecCollectionT)
Public propertyOwner Gets and sets the owner of the collection.
(Inherited from ButtonSpecCollectionBase)
Public propertySyncRoot Gets an object that can be used to synchronize access to the collection.
(Inherited from ButtonSpecCollectionT)
Top
Methods
 NameDescription
Public methodAdd(T) Append a button spec to the collection.
(Inherited from ButtonSpecCollectionT)
Public methodAdd(Object) Append a button spec to the collection.
(Inherited from ButtonSpecCollectionT)
Public methodAddRange Append an array of button spec instances.
(Inherited from ButtonSpecCollectionT)
Public methodClear Remove all pages from the collection.
(Inherited from ButtonSpecCollectionT)
Public methodContains(T) Determines whether the collection contains the button spec.
(Inherited from ButtonSpecCollectionT)
Public methodContains(Object) Determines whether the collection contains the button spec.
(Inherited from ButtonSpecCollectionT)
Public methodCopyTo(Array, Int32) Copies all the elements of the current collection to the specified Array.
(Inherited from ButtonSpecCollectionT)
Public methodCopyTo(T, Int32) Copies button specs to specified array starting at particular index.
(Inherited from ButtonSpecCollectionT)
Public methodEnumerate Provide non generic access to the enumerator.
(Inherited from ButtonSpecCollectionT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows 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 button specs in the collection.
(Inherited from ButtonSpecCollectionT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(T) Determines the index of the specified spec in the collection.
(Inherited from ButtonSpecCollectionT)
Public methodIndexOf(Object) Determines the index of the specified spec in the collection.
(Inherited from ButtonSpecCollectionT)
Public methodInsert(Int32, T) Inserts a button spec to the collection at the specified index.
(Inherited from ButtonSpecCollectionT)
Public methodInsert(Int32, Object) Inserts a button spec to the collection at the specified index.
(Inherited from ButtonSpecCollectionT)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnInserted Raises the Inserted event.
(Inherited from ButtonSpecCollectionBase)
Protected methodOnInserting Raises the Inserting event.
(Inherited from ButtonSpecCollectionBase)
Protected methodOnRemoved Raises the Removed event.
(Inherited from ButtonSpecCollectionBase)
Protected methodOnRemoving Raises the Removing event.
(Inherited from ButtonSpecCollectionBase)
Public methodRemove(T) Removes first occurance of specified spec.
(Inherited from ButtonSpecCollectionT)
Public methodRemove(Object) Removes first occurance of specified object.
(Inherited from ButtonSpecCollectionT)
Public methodRemoveAt Removes the button spec at the specified index.
(Inherited from ButtonSpecCollectionT)
Public methodToString Obtains the String representation of this instance.
(Inherited from ButtonSpecCollectionT)
Top
Events
 NameDescription
Public eventInserted Occurs when a spec has been added/inserted to the collection.
(Inherited from ButtonSpecCollectionBase)
Public eventInserting Occurs when a spec is about to be added/inserted to the collection.
(Inherited from ButtonSpecCollectionBase)
Public eventRemoved Occurs when a spec is removed from the collection.
(Inherited from ButtonSpecCollectionBase)
Public eventRemoving Occurs when a spec is about to be removed from the collection.
(Inherited from ButtonSpecCollectionBase)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also