Spread Windows Forms 12.0 Product Documentation
SerializeModels Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SerializeModels Property
Gets or sets whether the DocumentModels for this sheet should be serialized to the form resources, rather than generating code that initializes the Cells, Columns, Rows, and AlternatingRows.
Syntax
'Declaration
 
Public Property SerializeModels As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.SerializeModels = value
 
value = instance.SerializeModels
public bool SerializeModels {get; set;}

Property Value

Boolean: true to serialize models; false otherwise
Example
This example sets whether the DocumentModels for this sheet should be serialized to the form resources, rather than generating code that initializes the Cells, Columns, Rows, and AlternatingRows.
fpSpread1.ActiveSheet.SerializeModels = true;
FpSpread1.ActiveSheet.SerializeModels = True
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Using Serialization