Spread ASP.NET 6.0 Product Documentation
PagerPosition Enumeration
Example  See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : PagerPosition Enumeration


Glossary Item Box

Specifies in which tool bars the page navigation aids are displayed in the Spread component.

Syntax

Visual Basic (Declaration) 
Public Enum PagerPosition 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As PagerPosition
C# 
public enum PagerPosition : System.Enum 

Members

MemberDescription
BottomDisplays the page navigation aids in a bar at the bottom of the Spread component and below a command bar (if shown)
CommandBarDisplays the page navigation aids on the command bar
TopDisplays the page navigation aids in a bar at the top of the Spread component
TopBottomDisplays the page navigation aids at the top and bottom of the Spread component in two separate bars
TopCommandBarDisplays the page navigation aids in a bar at the top of the Spread component and on the command bar

Remarks

Use these settings with the Position property to specify the position and location of page navigation aids.

Example

This example creates a spreadsheet with 5 columns and 150 rows. The properties for page navigation are assigned.
C#Copy Code
FpSpread1.Columns.Count=5;
FpSpread1.Rows.Count=150;
FpSpread1.ActiveSheetView.PageSize=30;
FpSpread1.Pager.Align=HorizontalAlign.Right;
FpSpread1.Pager.BackColor=Color.Yellow;
FpSpread1.Pager.Font.Bold=true;
FpSpread1.Pager.ForeColor=Color.DarkBlue;
FpSpread1.Pager.Position=FarPoint.Web.Spread.PagerPosition.Top;
FpSpread1.Pager.Mode=FarPoint.Web.Spread.PagerMode.Both;
FpSpread1.Pager.PageCount=3;
Visual BasicCopy Code
FpSpread1.Columns.Count=5
FpSpread1.Rows.Count=150
FpSpread1.ActiveSheetView.PageSize=30
FpSpread1.Pager.Align=HorizontalAlign.Right
FpSpread1.Pager.BackColor=Color.Yellow
FpSpread1.Pager.Font.Bold=True
FpSpread1.Pager.ForeColor=Color.DarkBlue
FpSpread1.Pager.Position=FarPoint.Web.Spread.PagerPosition.Top
FpSpread1.Pager.Mode=FarPoint.Web.Spread.PagerMode.Both
FpSpread1.Pager.PageCount=3

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.PagerPosition

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.