[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.DefaultSheetStyleModel

DefaultSheetStyleModel Class

Represents the full (concrete) implementation of the ISheetSpanModel interface for a style model for a sheet, which represents cell styles.

Inheritance
DefaultSheetStyleModel
Namespace: FarPoint.Win.Spread.Model
Assembly: FarPoint.Win.Spread.dll
Syntax
public class DefaultSheetStyleModel : BaseSheetStyleModel, ISheetStyleModel, INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IRangeSupport, INamedStyleSupport, ISerializable, ICanSerializeXml, IParentStyleModelSupport, IParseFormatSupport, IConditionalFormatSupport2, IConditionalFormatSupport, ISerializeSupport2, ISerializeSupport, IFilteredRowSupport3, IFilteredRowSupport2, IFilteredRowSupport, IArraySupport, IOptimizedFilterStyleModel
Public Class DefaultSheetStyleModel
    Inherits BaseSheetStyleModel
    Implements ISheetStyleModel, INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IRangeSupport, INamedStyleSupport, ISerializable, ICanSerializeXml, IParentStyleModelSupport, IParseFormatSupport, IConditionalFormatSupport2, IConditionalFormatSupport, ISerializeSupport2, ISerializeSupport, IFilteredRowSupport3, IFilteredRowSupport2, IFilteredRowSupport, IArraySupport, IOptimizedFilterStyleModel

Constructors

Name Description
DefaultSheetStyleModel()

Creates a style model (DefaultSheetStyleModel object) with 0 rows, 0 columns, no parent style model, and a private named styles collection.

DefaultSheetStyleModel(int, int)

Creates a style model (DefaultSheetStyle model object) with the specified number of rows and columns.

DefaultSheetStyleModel(int, int, ISheetStyleModel)

Creates a style model (DefaultSheetStyle model object)
with the specified parent style model and number of rows and columns.

DefaultSheetStyleModel(int, int, ISheetStyleModel, NamedStyleCollection)

Creates a style model (DefaultSheetStyle model object) with the specified parent style model, named styles collection, and number of rows and columns.

DefaultSheetStyleModel(int, int, NamedStyleCollection)

Creates a style model (DefaultSheetStyle model object) with the specified number of rows and columns and named styles collection.

DefaultSheetStyleModel(SerializationInfo, StreamingContext)

Creates a new default sheet style model from deserialization.

Properties

Name Description
AltRowCount

Gets or sets the number of alternating rows in the style model.

CanSerializeXml

Gets whether the object in its entirety can be rendered with XML without losing any information.

ColumnCount

Gets the number of columns in the style model.

NamedStyles

Gets or sets the named styles collection for the model.

NonEmptyColumnCount

Gets the number of columns in the model that contain style settings.

NonEmptyRowCount

Gets the number of rows in the model that contain style settings.

Parent

Gets or sets the parent style model.

RowCount

Gets the number of rows in the style model.

Methods

Name Description
Clear(int, int, int, int)

Removes all of the direct styles from the specified range.

Copy(int, int, int, int, int, int)

Copies the direct styles from one specified range of cells to another.

Deserialize(XmlNodeReader)

Loads the object from XML.

GetArray(int, int, int, int)

Gets an object array from a specified range of cells in the model.

GetCompositeInfo(int, int, int, StyleInfo)

Gets the composite style for the specified cell, column, row, or model default.

GetDirectAltRowInfo(int, StyleInfo)

Gets the specified alternating row style in the model.

GetDirectAltRowName(int)

Gets the style name for an alternating row style.

GetDirectInfo(int, int, StyleInfo)

Gets the direct style for the specified cell, column, row, or model default.

GetDirectName(int, int)

Gets the name of the direct style assigned to a cell, column, row, or model default.

GetObjectData(SerializationInfo, StreamingContext)

Gets information about the default sheet style model.

GetParseFormat(int, int, ref string, ref IFormatProvider)

Gets the parse format for the cell at the specified row and column.

IsEmpty()

Determines whether the model is empty of data.

Move(int, int, int, int, int, int)

Moves the specified range of direct styles from one location to another.

Serialize(XmlTextWriter)

Saves the object to XML.

SetArray(int, int, object[,])

Sets an object array into a specified range of cells in the model.

SetConditionalFormat(int, int, ConditionalFormat)

SetConditionalFormat - internal use!

SetDirectAltRowInfo(int, StyleInfo)

Sets the specified alternating row style in the model.

SetDirectAltRowName(int, string)

Sets the name of the specified alternating row style in the model to the specified named style.

SetDirectInfo(int, int, StyleInfo)

Sets the direct style for the specified cell, column, row, or model default.

SetDirectName(int, int, string)

Sets the name of the direct style for the specified cell, column, row, or model default to the specified style name.

SetParseFormat(int, int, string, IFormatProvider)

Sets the parse format for the cell at the specified row and column.

Swap(int, int, int, int, int, int)

Swaps the direct styles in the specified range with the direct styles from another specified range.