ControlPager

ControlPager.NET 1.1

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

The ControlPager is used by a Form to paginate its contained controls according to the screen dimensions of the client device, provided Form.Paginate is set to True. During the pagination process, the ControlPager is submitted to the PagedControl.PaginateRecursive( ) method of the Form. The ControlPager provides the desired "weight" for the page (PageWeight) and the remaining space on the page (RemainingWeight). As a rule of thumb, each display line corresponds to 100 units.

public class ControlPager { // Public Constructors    public ControlPager(Form form, int pageWeight); // Public Static Fields    public static readonly int DefaultWeight;        // =100    public static readonly int UseDefaultWeight;                  // =-1 // Public Instance Properties    public int PageCount{set; get; }    public int PageWeight{get; }    public int RemainingWeight{set; get; } // Public Instance Methods    public ItemPager GetItemPager(MobileControl control, int itemCount, int itemsPerPage, int itemWeight);    public int GetPage(int weight); }

Passed To

ItemPager.ItemPager( ), MobileControl.PaginateRecursive( )



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