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


Glossary Item Box

Gets or sets whether the sheet displays the number of pages and the arrows for navigating to other pages in the sheet.

Syntax

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

Property Value

Boolean: true to display the page numbers and navigation aids; false otherwise

Remarks

For more information on page navigation, refer to Customizing Page Navigation.

Example

This example assigns a SheetView object to the active sheet and defines the number of columns and rows in the sheet, then sets AllowPage to true, which allows the user to click the page arrows on the Command Bar to scroll between pages of rows.
C#Copy Code
    FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
    sv.ColumnCount = 5;
    sv.PageSize = 10;
    sv.RowCount = 40;
    sv.AllowPage = true;
Visual BasicCopy Code
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.ColumnCount = 5
    sv.PageSize = 10
    sv.RowCount = 40
    sv.AllowPage = True

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.