Spread Silverlight Documentation
LoadExcelOnDemand Property
Example 


Gets or sets whether to load data on demand to reduce the time for opening an excel file.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property LoadExcelOnDemand As System.Boolean
'Usage
 
Dim instance As Workbook
Dim value As System.Boolean
 
instance.LoadExcelOnDemand = value
 
value = instance.LoadExcelOnDemand
[System.ComponentModel.DefaultValue()]
public System.bool LoadExcelOnDemand {get; set;}
Remarks
Rows and cell data are loaded as needed for display when the LoadExcelOnDemand property is true. Use the DataCalculated event to determine when all data has been loaded and calculated. Set the LoadExcelOnDemand property before loading an Excel-formatted file to speed up loading.
Example
This example sets the LoadExcelOnDemand property.
GcSpreadSheet1.Workbook.LoadExcelOnDemand=true;
GcSpreadSheet1.Workbook.LoadExcelOnDemand=True
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Workbook Class
Workbook Members

 

 


Copyright © GrapeCity, inc. All rights reserved.