Spread for ASP.NET 7.0 Product Documentation
UIVirtualization Property
See Also  Example Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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