ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









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( )


/ 873