[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.DefaultSheetSpanModel

DefaultSheetSpanModel Class

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

Inheritance
DefaultSheetSpanModel
Namespace: FarPoint.Web.Spread.Model
Assembly: FarPoint.Web.Spread.dll
Syntax
public class DefaultSheetSpanModel : BaseSheetSpanModel, ISheetSpanModel, IRangeSupport, ISerializable, ISerializeSupport, IEnumerable
Public Class DefaultSheetSpanModel
    Inherits BaseSheetSpanModel
    Implements ISheetSpanModel, IRangeSupport, ISerializable, ISerializeSupport, IEnumerable

Constructors

Name Description
DefaultSheetSpanModel()

Creates a default span model.

DefaultSheetSpanModel(SerializationInfo, StreamingContext)

Creates a default span model from deserialization.

Methods

Name Description
Add(int, int, int, int)

Adds a cell span to the collection.

Clear()

Removes all cell spans from the collection.

Clear(int, int, int, int)

Removes cell spans from the collection within the specified area.

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

Copies a cell span and pastes it at the specified location.

CopyColumns(int, int, int)

Copies columns and pastes them at the specified location.

CopyRows(int, int, int)

Copies rows and pastes them at the specified location.

Deserialize(XmlNodeReader)

Loads the span object from XML.

Find(int, int)

Finds the cell span in the collection that includes the cell at specified row and column.

GetEnumerator()

Gets an enumerator for iterating to the next cell span in the collection.

GetEnumerator(int, int, int, int)

Gets an enumerator for iterating to the next cell span in the collection after the specified span.

GetObjectData(SerializationInfo, StreamingContext)

Populates the SerializationInfo class with information about the default sheet span model settings.

IsEmpty()

Determines whether the model is empty of cell spans.

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

Moves a cell span and pastes it at the specified location.

MoveColumns(int, int, int)

Moves columns and pastes them at the specified location.

MoveRows(int, int, int)

Moves rows and pastes them at the specified location.

Remove(int, int)

Removes all cell spans in the collection that include the cell at the specified row and column.

Serialize(XmlTextWriter)

Saves the span object to XML.

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

Swaps cell spans.

SwapColumns(int, int, int)

Swaps a range of columns with another range of columns.

SwapRows(int, int, int)

Swaps a range of rows with another range of rows.