Click or drag to resize
KaxMenuItemCollection Methods

The KaxMenuItemCollection type exposes the following members.

Methods
  Name Description
Public method Code example Add
Appends the specified KaxMenuItem object to the end of the current KaxMenuItemCollection.
Public method Code example AddRange
Appends the specified array of KaxMenuItem objects to the end of the current KaxMenuItemCollection.
Public method Contains
Determines whether the specified KaxMenuItem object is in the current KaxMenuItemCollection.
Public method CopyTo
Copies the contents of the current KaxMenuItemCollection into the specified array of KaxMenuItem objects.
Public method Code example FindItem
Returns the first KaxMenuItem that matches the conditions defined by the specified predicate. The predicate should returns a boolean value.
Public method FindItemByAttribute
Searches the items in the collection for a KaxMenuItem which contains the specified attribute and attribute value.
Public method FindItemByText(String)
Searches the KaxMenuItemCollection control for the first KaxMenuItem with a Text property equal to the specified value.
Public method FindItemByText(String, Boolean)
Searches the KaxMenu control for the first KaxMenuItem with a Text property equal to the specified value.
Public method FindItemByValue(String)
Searches the KaxMenuItemCollection control for the first KaxMenuItem with a Value property equal to the specified value.
Public method FindItemByValue(String, Boolean)
Searches the KaxMenu control for the first KaxMenuItem with a Value property equal to the specified value.
Public method IndexOf
Determines the index of the specified KaxMenuItem object in the collection.
Public method Insert
Inserts the specified KaxMenuItem object in the current KaxMenuItemCollection at the specified index location.
Public method Remove
Removes the specified KaxMenuItem object from the current KaxMenuItemCollection.
Public method RemoveAt
Removes the KaxMenuItem object at the specified index from the current KaxMenuItemCollection.
Top
See Also