Spread Windows Forms 6.0 Product Documentation
DefaultSheetDataModel Class Members
See Also  Properties  Methods  Events Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace : DefaultSheetDataModel Class


Glossary Item Box

The following tables list the members exposed by DefaultSheetDataModel.

Public Constructors

 NameDescription
Public ConstructorDefaultSheetDataModel ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyAutoCalculationGets or sets whether the control automatically recalculates each formula in the sheet when the contents of dependent cells change.  
Public PropertyAutoGenerateColumnsGets or sets whether to generate the columns automatically based on the data source.  
Public PropertyCanSerializeXmlGets whether the object in its entirety can be rendered with XML without losing any information.  
Public PropertyChildRelationCountGets the number of the child data relations for a hierarchical display of data.  
Public PropertyColumnCountOverridden. Gets or sets the number of columns in the model.  
Public PropertyDataMemberGets or sets the data member (table name) to use for data.  
Public PropertyDataSourceGets or sets the data source.  
Public PropertyIgnoreFormulaGets or sets a value indicates whether to ignore formula.  
Public PropertyItemTypeGets or sets the type of the object in the list for the list data source.  
Public PropertyIterationGets or sets whether circular references are evaluated.  
Public PropertyMaximumChangeGets or sets the maximum amount of change below which to stop iterating for caclulations with circular references.  
Public PropertyMaximumIterationsGets or sets the maximum number of iterations for calculations with circular references.  
Public PropertyNameGets or sets the name of the data model.  
Public PropertyNonEmptyColumnCountOverridden. Gets the number of columns in the model containing data (bound or unbound).  
Public PropertyNonEmptyRowCountOverridden. Gets the number of rows in the model containing data (bound or unbound).  
Public PropertyParentGets or sets the parent data source support object.  
Public PropertyParentRelationNameGets the name of the data relation being used for a hierarchical display of data.  
Public PropertyParentRowIndexGets the index of the row in the parent data model associated with this child data model.  
Public PropertyReferenceStyleGets or sets the cell reference style for cells with formulas.  
Public PropertyRowCountOverridden. Gets or sets the number of rows in the model.  
Top

Public Methods

 NameDescription
Public MethodAddColumnOverloaded. Adds a column to the data model.  
Public MethodAddColumnsAdds one or more columns to the data model at the specified position.  
Public MethodAddCustomFunctionAdds a new user-defined custom function to the model for use in formulas.  
Public MethodAddCustomNameOverloaded. 

Adds a custom name to the model using the specified value.

 
Public MethodAddRowOverloaded. 

Adds a row to the data model.

 
Public MethodAddRowsAdds rows to the data model at the specified position.  
Public MethodAddRowToDataSourceAdds the unbound row to the data source.  
Public MethodAddUnboundRowsAdds unbound rows to the data model.  
Public MethodClearRemoves all the data and formulas from the specified range of cells.  
Public MethodClearCustomFunctionsRemoves all user-defined custom functions from the model.  
Public MethodClearCustomNamesRemoves all named expressions from the model.  
Public MethodClearDataRemoves all the data from the specified range of cells.  
Public MethodClearFormulasRemoves all of the formulas from the specified range of cells.  
Public MethodCopyCopies the data from a range of cells to a specified range of cells.  
Public MethodDeserializeLoads the object from XML.  
Public MethodEvaluateExpressionEvaluates the expression in the cell at the specified row and column and returns the resulting object.  
Public MethodGetAggregationResultCalculates value based on aggregation type and forms value with aggregation format  
Public MethodGetAggregationTypeGets the AggregationType, as a string value, at the specified column.  
Public MethodGetArrayOverloaded. Gets an object array from a specified range of cells.  
Public MethodGetChildDataModelGets the data model (ISheetDataModel object) for the specified row and data relation.  
Public MethodGetChildRelationGets the name of the child data relation at the specified position.  
Public MethodGetColumnIndexGets the index of the column specified by name.  
Public MethodGetCustomFunctionGets a user-defined custom function from the model.  
Public MethodGetCustomFunctionEnumeratorGets an IEnumerator that enumerates through the names of the custom functions in the model.  
Public MethodGetCustomNameOverloaded. Gets a named expression from the model with the specified base index for relative cell references.  
Public MethodGetCustomNameEnumeratorGets an IEnumerator that enumerates through the names of the named expressions in the model.  
Public MethodGetDataColumnCaptionGets the column caption at the specified position.  
Public MethodGetDataColumnFromModelColumnGets the data source column index for the specified column in the model.  
Public MethodGetDataColumnNameGets the column name at the specified position.  
Public MethodGetDataColumnTypeGets the column data type at the specified position.  
Public MethodGetDataRowGets the view of a specified row of data.  
Public MethodGetDataRowFromModelRowGets the data source row index for the specified row in the model.  
Public MethodGetDataTableGets the data table associated with this model.  
Public MethodGetDataViewOverloaded. Gets the DataView object for this model.  
Public MethodGetExpressionGets the formula, as an expression value, for the cell of the specified row and column.  
Public MethodGetFormulaGets the formula, as a string value, for the cell of the specified row and column.  
Public MethodGetItemReturns the IEditableObject from a row that is data bound to a DataView or ListSource.  
Public MethodGetModelColumnFromDataColumnGets the column in the model for the specified data source column.  
Public MethodGetModelRowFromDataRowGets the row in the model for the specified data source row.  
Public MethodGetNonEmptyNotesColumnCountGets a count of columns containing notes.  
Public MethodGetNonEmptyNotesRowCountGets a count of rows containing notes.  
Public MethodGetNoteOverridden. Gets a user-defined note value for the cell of the specified row and column.  
Public MethodGetTagOverridden. Gets an application-defined tag value for the cell of the specified row and column.  
Public MethodGetUnboundValueGets the unbound value for the cell for the specified row and column.  
Public MethodGetValueOverridden. Gets the value of the cell for the specified row and column.  
Public MethodGoalSeekAttempt to find value for one cell that produces the desired formula result in another cell.  
Public MethodIsColumnBoundDetermines whether the specified column is bound to a data source column.  
Public MethodIsEditableOverridden. Determines whether the value in the cell of the specified row and column can be edited.  
Public MethodIsEmptyOverridden. Determines whether the data model is empty.  
Public MethodIsRowBoundDetermines whether the specified row is bound to a data source row.  
Public MethodIsRowUsedOverloaded. Specifies row in used  
Public MethodLoadFormulasLoads formulas that are deserialized but not parsed yet, to be used after all sheets have been created and deserialized.  
Public MethodMoveMoves the data from a range of cells to the specified location.  
Public MethodNextNonEmptyColumnInRowOverridden. Gets the index of the next column in a specified row that contains data.  
Public MethodNextNonEmptyRowOverridden. Gets the index of the next non-empty row after the specified row index.  
Public MethodParseFormulaParses the string value and returns the expression for the cell at the specified row and column.  
Public MethodRecalculateEvaluates the formulas in the sheet that have changed since the last calculation cycle.  
Public MethodRecalculateAllEvaluates all the formulas in the entire sheet (including those that have not changed since the last calculation cycle).  
Public MethodRemoveColumnRemoves a column at the specified position.  
Public MethodRemoveColumnsRemoves one or more columns starting with the column at the specified position.  
Public MethodRemoveCustomFunctionRemoves a user-defined custom function from the model.  
Public MethodRemoveCustomNameRemoves a named expression from the model.  
Public MethodRemoveRowRemoves a row at the specified position.  
Public MethodRemoveRowsRemoves one or more rows, starting with the specified row.  
Public MethodResumeFormulaParsingResumes parsing of formulas and parses all formulas set while parsing was suspended.  
Public MethodSerializeOverloaded. Saves the object to an XmlTextWriter object.  
Public MethodSetAggregationTypeSets the AggregationType, as a enum value, at the specified column. If you pass null, it will clear the AggregationType from that column.  
Public MethodSetArrayOverloaded. Sets an object array into a specified range of cells.  
Public MethodSetExpressionSets the formula, as an expression value, for the cell of the specified row and column.  
Public MethodSetFormulaSets the formula, as a string value, for the cell of the specified row and column. If you pass null, it will clear the expression from that cell.  
Public MethodSetModelDataColumnOverloaded. Binds the model column to the specified data source column.  
Public MethodSetNoteOverridden. Sets a user-defined note value for the cell at the specified row and column.  
Public MethodSetTagOverridden. Sets an application-defined tag value for the cell of the specified row and column.  
Public MethodSetValueOverridden. Sets the value for the cell of the specified row and column.  
Public MethodSuspendFormulaParsingSuspends parsing of formulas.  
Public MethodSwapSwaps the specified ranges of cells.  
Public MethodUnparseFormulaGets the formula, as a string value, from the specified expression for the cell at the specified row and column.  
Top

Protected Methods

 NameDescription
Protected MethodGetListSourceGets the IList data source for this model.  
Protected MethodOnAggregateRaises the Changed event, and permits derived classes to handle the event without attaching a delegate.  
Protected MethodOnChangedOverridden. Raises the Changed event, and permits derived classes to handle the event without attaching a delegate.  
Top

Public Events

 NameDescription
Public EventAggregateOccurs when the data model aggregate.  
Public EventChangedOccurs when the user makes a change to the model that affects the data of the sheet. (Inherited from FarPoint.Win.Spread.Model.BaseSheetDataModel)
Public EventNameChangedOccurs when the name of the data model changes.  
Public EventNameChangingOccurs when the name of the data model is changing.  
Top

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.