Spread Windows Forms 10.0 Product Documentation
SerializeModels Property
Example 


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Using Serialization

 

 


Copyright © GrapeCity, inc. All rights reserved.