PagerStyle

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net