Spread ASP.NET 6.0 Product Documentation
UIVirtualization Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : UIVirtualization Property


Glossary Item Box

Gets or sets whether to use UI virtualization.

Syntax

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

Remarks

This property displays the horizontal scrollbar and allows you to scroll so you can see all the column headers if the control is too narrow to display them all at once.  If you set the HorizontalScrollBarPolicy property to never, the scroll bar does not show up. The scroll bar shows up with as needed or always if delay scroll is true.

This property can also be used to speed up client side performance if there are a lot of rows and columns (set the property to true) in Microsoft Internet Explorer.

Example

This example sets the UIVirtualization property.
C#Copy Code
FpSpread1.UIVirtualization = true;
FpSpread1.Sheets[0].RowCount = 0;
FpSpread1.Sheets[0].ColumnCount = 15;
Visual BasicCopy Code
FpSpread1.UIVirtualization = True
FpSpread1.Sheets(0).RowCount = 0
FpSpread1.Sheets(0).ColumnCount = 15

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.