[]
        
(Showing Draft Content)

FarPoint.Win.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.Win.Spread.Model
Assembly: FarPoint.Win.Spread.dll
Syntax
public class DefaultSheetSpanModel : BaseSheetSpanModel, IRangeSupport, ISerializable, ISerializeSupport, IEnumerable, IDeserializationCallback, ISheetSpanModelChangingEventSupport, ISheetSpanModel
Public Class DefaultSheetSpanModel
    Inherits BaseSheetSpanModel
    Implements IRangeSupport, ISerializable, ISerializeSupport, IEnumerable, IDeserializationCallback, ISheetSpanModelChangingEventSupport, ISheetSpanModel

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.

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.

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.

Events

Name Description
Changing

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