[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.BaseSheetStyleModel

BaseSheetStyleModel Class

Represents the partial (abstract) implementation of the ISheetStyleModel interface for a style model for a sheet.

Inheritance
BaseSheetStyleModel
Namespace: FarPoint.Web.Spread.Model
Assembly: FarPoint.Web.Spread.dll
Syntax
public abstract class BaseSheetStyleModel : INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, ISheetStyleModel3, ISheetStyleModel2, ISheetStyleModel
Public MustInherit Class BaseSheetStyleModel
    Implements INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, ISheetStyleModel3, ISheetStyleModel2, ISheetStyleModel

Constructors

Name Description
BaseSheetStyleModel()

Properties

Name Description
AltRowCount

Gets or sets the number of alternating row styles in 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.

Methods

Name Description
FireChanged(int, int, int, int, SheetStyleModelEventType)

Creates a SheetStyleModelEventArgs with the specified event data and calls OnChanged to raise the Changed event.

GetCompositeInfo(int, int, int, StyleInfo)

Gets the style information as a composite of settings for the specified cell, column, row, or model default.

GetCompositeInfo(int, int, int, StyleInfo, StyleInfo, NamedStyle)

Gets the style information as a composite of filtered settings for the specified cell, column, row, or model default.

GetDirectAltRowInfo(int, StyleInfo)

Gets the style information for the specified alternating row in the model.

GetDirectInfo(int, int, StyleInfo)

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

IsEmpty()

Determines whether the model has no style settings.

IsRowUsed(int)

Gets whether the row contains style settings.

NextNonEmptyColumnInRow(int, int)

Gets the index of the next column in a specified row that contains style settings.

NextNonEmptyRow(int)

Gets the index of the next non-empty row after the specified row index.

OnChanged(SheetStyleModelEventArgs)

Raises the Changed event.

SetDirectAltRowInfo(int, StyleInfo)

Sets the specified alternating row style in the model.

SetDirectInfo(int, int, StyleInfo)

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

Events

Name Description
Changed

Occurs when the user makes a change to the model that affects the style of the sheet.