[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetViewCollection

SheetViewCollection Class

Represents a collection of sheets (SheetView objects).

Inheritance
SheetViewCollection
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[ListBindable(false)]
public class SheetViewCollection : CollectionBase, IList, ICollection, IReadOnlyCollection<IComponent>, IEnumerable<IComponent>, IEnumerable
<ListBindable(False)>
Public Class SheetViewCollection
    Inherits CollectionBase
    Implements IList, ICollection, IReadOnlyCollection(Of IComponent), IEnumerable(Of IComponent), IEnumerable

Properties

Name Description
Count

Gets or sets the number of sheets (SheetView objects) in the collection.

IsFixedSize

Gets whether the collection has a fixed size. (This implementation always returns false.)

IsReadOnly

Gets whether the collection is read-only. (This implementation always returns false.)

this[int]

Gets or sets the sheet (SheetView object) at the specified position in the collection.

this[string]

Gets or sets the sheet (SheetView object) at the specified position in the collection.

Methods

Name Description
Add(object)

Adds a sheet to the collection.

AddRange(SheetView[])

Adds an array of SheetView objects to the collection.

AddRange(ICollection)

Adds a range of sheets to the collection.

Clear()

Removes all the sheets from the collection.

Contains(SheetView)

Specifies whether the collection contains the specified sheet.

CopyTo(Array, int)

Copies the sheets in the collection to an array.

Find(string)

Searches the collection for a sheet with the specified name.

IndexOf(SheetView)

Returns the index of the specified sheet in the collection.

Insert(int, SheetView)

Inserts a sheet into the collection at the specified index.

Move(int, int)

Moves the specified SheetView to a different index in the collection.

Remove(SheetView)

Removes the specified sheet from the collection.

RemoveAt(int)

Removes a sheet (SheetView object) from the collection at the specified index.

Events

Name Description
Changed

Occurs when a sheet is added, removed, or changed in the collection.

Changing

Occurs when a sheet is about to be added, removed, or changed in the collection.