Spread for ASP.NET 11 Product Documentation
Align Property (PagerInfo)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PagerInfo Class : Align Property
Gets or sets the horizontal alignment of the page navigation aids.
Syntax
'Declaration
 
Public Property Align As HorizontalAlign
'Usage
 
Dim instance As PagerInfo
Dim value As HorizontalAlign
 
instance.Align = value
 
value = instance.Align
public HorizontalAlign Align {get; set;}

Property Value

HorizontalAlign object containing the alignment of text for the page navigation aids
Remarks

Valid values for this property are the horizontal alignment settings listed in the HorizontalAlign enumeration in the Microsoft .NET Framework Reference.

Example
FpSpread1.Columns.Count = 5;
FpSpread1.Rows.Count = 150;
FpSpread1.ActiveSheetView.PageSize = 30;
 
FarPoint.Web.Spread.PagerInfo pinf;
pinf = FpSpread1.Pager;
pinf.Align = HorizontalAlign.Right;
pinf.BackColor = Color.Yellow;
pinf.CssClass = "CssStyle1";
pinf.Font.Bold = true;
pinf.ForeColor = Color.Red;
pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev;
pinf.PageCount = 30;
pinf.Position = FarPoint.Web.Spread.PagerPosition.Top;
FpSpread1.Columns.Count = 5
FpSpread1.Rows.Count = 150
FpSpread1.ActiveSheetView.PageSize = 30

Dim pinf As FarPoint.Web.Spread.PagerInfo
pinf = FpSpread1.Pager
pinf.Align = HorizontalAlign.Right
pinf.BackColor = Color.Yellow
pinf.CssClass = "CssStyle1"
pinf.Font.Bold = True
pinf.ForeColor = Color.Red
pinf.Mode = FarPoint.Web.Spread.PagerMode.NextPrev
pinf.PageCount = 30
pinf.Position = FarPoint.Web.Spread.PagerPosition.Top
 
See Also

Reference

PagerInfo Class
PagerInfo Members