[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpScrollBarButtonCollection

FpScrollBarButtonCollection Class

Represents the collection of elements for the Spread scroll bar.

Inheritance
FpScrollBarButtonCollection
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(_ph))]
public sealed class FpScrollBarButtonCollection : IList, ICollection, IEnumerable, ISerializeSupport, ISerializable, ICloneable
<TypeConverter(GetType(_ph))>
Public NotInheritable Class FpScrollBarButtonCollection
    Implements IList, ICollection, IEnumerable, ISerializeSupport, ISerializable, ICloneable

Constructors

Name Description
FpScrollBarButtonCollection()

Creates a new collection of Spread scroll bar buttons.

FpScrollBarButtonCollection(FpScrollBarButton[])

Initializes a new instance of the FpScrollBarButtonCollection class.

Properties

Name Description
Count

Gets the number of buttons contained in the ICollection.

Empty

Gets the empty collection of the Spread scroll bar buttons.

IsFixedSize

Gets whether the IList has a fixed size.

IsReadOnly

Gets a value that indicates whether the IList is read-only.

IsSynchronized

Gets whether access to the ICollection is synchronized (thread safe).

this[int]

Gets or sets the object 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.

AddRange(ICollection)

Adds a range of objects of the collection.

Clear()

Removes all items from the IList.

Clone()

Creates a new object that is a copy of the current instance.

Contains(object)

Determines whether the IList contains a specific value.

CopyTo(Array, int)

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

Deserialize(XmlNodeReader)

Loads the object from XML.

Equals(object)

Determines whether the specified object is equal to the current object.

GetEnumerator()

Returns an enumerator that iterates through a collection.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

IndexOf(object)

Determines the index of a specific item in the IList.

Insert(int, object)

Inserts an item to the IList at the specified index.

Remove(object)

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

RemoveAt(int)

Removes the IList item at the specified index.

Serialize(XmlTextWriter)

Saves the object to XML.

Operators