Spread Windows Forms 7.0 Product Documentation
SerializeModels Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SerializeModels Property


Glossary Item Box

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

Visual Basic (Declaration) 
Public Property SerializeModels As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Boolean
 
instance.SerializeModels = value
 
value = instance.SerializeModels
C# 
public bool SerializeModels {get; set;}

Property Value

Boolean: true to serialize modelsl; 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.
C#Copy Code
fpSpread1.ActiveSheet.SerializeModels = true;
Visual BasicCopy Code
FpSpread1.ActiveSheet.SerializeModels = True

Requirements

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

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Using Serialization

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