[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DefaultSparklineContainer

DefaultSparklineContainer Class

Represents the full (concrete) implementation of the ISparklineContainer interface for a sparkline model for a sheet, which represents sparklines.

Inheritance
DefaultSparklineContainer
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class DefaultSparklineContainer : ISparklineContainer, ICollection<ISparklineGroup>, IEnumerable<ISparklineGroup>, IEnumerable, ISerializeSupport, ISerializable, ISupportInitialize, ISuspendFormulaParsing, IRangeSupport
Public Class DefaultSparklineContainer
    Implements ISparklineContainer, ICollection(Of ISparklineGroup), IEnumerable(Of ISparklineGroup), IEnumerable, ISerializeSupport, ISerializable, ISupportInitialize, ISuspendFormulaParsing, IRangeSupport

Constructors

Name Description
DefaultSparklineContainer(SheetView)

Initializes a new instance of the DefaultSparklineContainer class.

DefaultSparklineContainer(SerializationInfo, StreamingContext)

Initializes a new instance of the DefaultSparklineContainer class.

Properties

Name Description
Count

Gets the number of elements contained in the ICollection<T>.

IsEmpty

Gets a value that indicates whether this instance is empty.

IsReadOnly

Gets a value that indicates whether the ICollection<T> is read-only.

this[int]

Gets the ISparklineGroup at the specified index.

Owner

Owner of this container.

Methods

Name Description
Add(ISparklineGroup)

Adds an item to the ICollection<T>.

AddColumns(int, int)

Adds columns of cells after the specified column.

AddRows(int, int)

Adds rows of cells after the specified row.

AddSparklineToGroup(ISparkline, ISparklineGroup)

Adds the sparkline to the existing group.

BeginInit()

Signals the object that initialization is starting.

Clear()

Removes all items from the ICollection<T>.

Clear(int, int, int, int)

Removes all of the contents from the cells in the specified range of cells.

Contains(ISparklineGroup)

Determines whether the ICollection<T> contains a specific value.

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

Copies a range of cells and pastes it into a range of cells at the specified location.

CopyTo(ISparklineGroup[], int)

Copies all child sparkline groups to the specified array.

Deserialize(XmlNodeReader)

Loads the object from XML.

EndInit()

Signals the object that initialization is complete.

FireChanged(List<CellRange>)

Fires the Changed event.

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

GetSparkline(int, int)

Gets the sparkline information.

GetSparkline(int, int, out ISparklineGroup, out ISparkline)

Gets the sparkline in the specified location.

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

Moves a range of cells and pastes it into a range of cells at the specified location.

OnChanged(SparklineModelUpdateEventArgs)

Raises the Changed event.

ReloadFormula()

Reloads the formulas.

Remove(ISparklineGroup)

Removes the first occurrence of a specific object from the ICollection<T>.

RemoveColumns(int, int)

Removes columns from the specified starting position.

RemoveRows(int, int)

Removes rows from the specified starting position.

RemoveSparkline(int, int)

Removes the sparkline at the specific position.

ResumeFormulaParsing()

Resumes formula parsing and parses all formulas set while parsing was suspended.

Serialize(XmlTextWriter)

Saves the object to XML.

SuspendFormulaParsing()

Suspends formula parsing until the ResumeFormulaParsing method is called.

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

Swaps a range of cells from one specified location to another.

Events

Name Description
Changed

Occurs when the sparkline group or sparkline has been changed.

OSZAR »