[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.BaseSheetAxisModel

BaseSheetAxisModel Class

Represents the partial (abstract) implementation of the ISheetAxisModel interface for an axis model for a sheet.

Inheritance
BaseSheetAxisModel
Namespace: FarPoint.Web.Spread.Model
Assembly: FarPoint.Web.Spread.dll
Syntax
public abstract class BaseSheetAxisModel : ISheetAxisModel, IAutoFilterIndexSupport, IPageBreakSupport, INotifySheetAxisModelChanging
Public MustInherit Class BaseSheetAxisModel
    Implements ISheetAxisModel, IAutoFilterIndexSupport, IPageBreakSupport, INotifySheetAxisModelChanging

Constructors

Name Description
BaseSheetAxisModel()

Properties

Name Description
Count

Gets the number of rows or columns.

Methods

Name Description
FireChanged(int, int, SheetAxisModelEventType)

Fires the Changed event.

FireChanging(int, int, SheetAxisModelEventType, bool)

Raises the Changing event.

FireChanging(int, int, SheetAxisModelEventType, int, int, bool, bool)

Raises the Changing event.

GetAutoFilterIndex(int)

Gets the automatic filter index for the specified row or column. (This implementation always returns -1.)

GetMergePolicy(int)

Gets the cell merge policy for the specified row or column.

GetPageBreak(int)

Gets whether a page break occurs at the specified row or column.

GetResizable(int)

Gets whether users can resize the specified row or column. (This implementation always returns true.)

GetSize(int)

Gets the size of the specified row or column. (This implementation always returns 60.)

GetSortIndicator(int)

Gets the sort indicator for the specified row or column. (This implementation always returns None.)

GetTag(int)

Gets the data associated with the specified row or column. (This implementation always returns null.)

GetVisible(int)

Gets whether the control displays the specified row or column. (This implementation always returns true.)

IsEmpty()

Determines whether rows and columns do not exist in the model. (This implementation always returns false.)

IsPropertySet(int, SheetAxisProperty)

Determines whether a specified SheetAxisModel property is set. (This implementation always returns false.)

OnChanged(SheetAxisModelEventArgs)

Handles the Changed event in subclasses.

OnChanging(SheetAxisModelChangingEventArgs)

Handles the Changed event in subclasses.

ResetProperty(int, SheetAxisProperty)

Resets a specified field of a SheetAxisProperty object to its default value. (This implementation does nothing.)

SetAutoFilterIndex(int, int)

Sets the automatic filter index for the specified row or column. (This implementation does nothing.)

SetMergePolicy(int, MergePolicy)

Sets the cell merge policy for the specified row or column.

SetPageBreak(int, bool)

Sets whether a page break occurs at the specified row or column.

SetResizable(int, bool)

Sets whether users can resize the specified row or column. (This implementation does nothing.)

SetSize(int, int)

Sets the size of the specified row or column. (This implementation does nothing.)

SetSortIndicator(int, SortIndicator)

Sets the sort indicator for the specified row or column. (This implementation does nothing.)

SetTag(int, object)

Sets the data associated with the specified row or column. (This implementation does nothing.)

SetVisible(int, bool)

Sets whether the control displays the specified row or column. (This implementation does nothing.)

Events

Name Description
Changed

Occurs when the user makes a change to the model that affects the axis (row or column) of the sheet.