Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Using Serialization

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