ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 636
نمايش فراداده

PagerStyle.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

The PagerStyle is a custom Style object with additional properties specific to the pagination user interface of a form, most of which consits of static text strings. You can access these properties for a Form by using the Form.PagerStyle property. The properties you might want to customize include NextPageText, PreviousPageText, and PageLabel

public class 

PagerStyle : Style { // Public Constructors public

PagerStyle ( ); // Public Static Fields public static readonly object

NextPageTextKey ; // =System.Web.UI.MobileControls.Style+Property public static readonly object

PageLabelKey ; // =System.Web.UI.MobileControls.Style+Property public static readonly object

PreviousPageTextKey ; // =System.Web.UI.MobileControls.Style+Property // Public Instance Properties public string

NextPageText {set; get; } public string

PageLabel {set; get; } public string

PreviousPageText {set; get; } // Public Instance Methods public string

GetNextPageText (int

currentPageIndex ); public string

GetPageLabelText (int

currentPageIndex , int

pageCount ); public string

GetPreviousPageText (int

currentPageIndex ); }

Hierarchy

System.Object Style(System.Web.UI.IParserAccessor, ITemplateable, System.Web.UI.IStateManager, System.ICloneable) PagerStyle

Returned By

Form.PagerStyle