[]
        
(Showing Draft Content)

C1.Win.C1Command.C1NavBarButton.ButtonCollection

C1NavBarButton.ButtonCollection Class

The collection of buttons in navigation bar.

Inheritance
C1NavBarButton.ButtonCollection
Namespace: C1.Win.C1Command
Assembly: C1.Win.C1Command.4.8.dll
Syntax
public class C1NavBarButton.ButtonCollection : IList, ICollection, IEnumerable

Properties

Name Description
Count

Gets the number of elements contained in the ICollection.

IsFixedSize

Gets a value indicating whether the IList has a fixed size.

IsReadOnly

Gets a value indicating whether the IList is read-only.

IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized

this[int]

Gets or sets the element at the specified index.

SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

Methods

Name Description
Add(object)

Adds an item to the IList.

AddNewButton()

Creates a new button, puts the button into the collection, returns the created button.

AddRange(ICollection)

Adds the elements of an ICollection to the end.

Clear()

Removes all items from the IList.

Contains(object)

Determines whether the IList contains a specific value.

CopyTo(Array)

Copies the ButtonCollection to a one-dimensional array.

CopyTo(Array, int)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

CopyTo(int, Array, int, int)

Copies the ArrayList or a portion of it to a one-dimensional array.

GetEnumerator()

Returns an enumerator that can iterate through the PagedControlsCollectionBase.

IndexOf(object)

Determines the index of a specific item in the IList.

IndexOfID(int)

Determines the index of the item in the collection with the specified value of the ID property.

Insert(int, object)

Inserts an item to the IList at the specified position.

Remove(object)

Removes the first occurrence of a specific object from the IList.

RemoveAt(int)

Removes the IList item at the specified index.

RemoveRange(int, int)

Removes a range of elements.