[]
        
(Showing Draft Content)

FarPoint.Web.Spread.DefaultStyleCollection

DefaultStyleCollection Class

Represents the read-only collection of default NamedStyle objects.

Inheritance
DefaultStyleCollection
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public sealed class DefaultStyleCollection : IList, ICollection, IEnumerable
Public NotInheritable Class DefaultStyleCollection
    Implements IList, ICollection, IEnumerable

Constructors

Name Description
DefaultStyleCollection()

Fields

Name Description
ColumnFooterDefault

Represents the default style for row header cells.

ColumnHeaderDefault

Represents the default style for column header cells.

CornerDefault

Represents the default style for corner header cells.

DataAreaDefault

Represents the default style for data area cells in the sheet.

DataAreaDefault2

Represents the default style for data area cells in the sheet with padding.

FilterBarDefault

Represents the default style for the filter bar.

HeaderDefault

Represents the default style for header cells.

RowHeaderDefault

Represents the default style for row header cells.

Styles

Represents the array of NamedStyle objects that contain the default styles.

Properties

Name Description
Count

Gets the number of NamedStyle 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 true.)

IsSynchronized

Gets whether access to the collection is synchronized.

(This implementation always returns false.)

this[int]

Gets or sets the NamedStyle object at the specified index.

SyncRoot

Gets a NamedStyleCollection object that can be used to synchronize access to the collection.

Methods

Name Description
Add(NamedStyle)

Not supported; calling this method throws an exception because the collection is read-only.

Compose(object, StyleInfo)

Composes a style using the default styles and a specified StyleInfo object.

Contains(NamedStyle)

Determines whether the collection contains the specified style.

CopyTo(NamedStyle[], int)

Copies the styles in the collection to a specified array at a specified location.

CopyTo(Array, int)

Copies the styles in the collection to a specified array at a specified location.

Find(string)

Finds a style with the specified name in the collection.

GetEnumerator()

Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection.

IndexOf(NamedStyle)

Returns the index of the specified NamedStyle object.

Insert(int, NamedStyle)

Not supported; calling this method throws an exception because the collection is read-only.

Remove(NamedStyle)

Not supported; calling this method throws an exception because the collection is read-only.