แก้ไข

แชร์ผ่าน


ItemPager Constructors

Definition

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

ItemPager()

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemPager(ControlPager, MobileControl, Int32, Int32, Int32)

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemPager()

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 ItemPager();
public ItemPager ();
Public Sub New ()

Remarks

Constructs a new ItemPager object.

See also

Applies to

ItemPager(ControlPager, MobileControl, Int32, Int32, Int32)

Initializes a new instance of the ItemPager class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 ItemPager(System::Web::UI::MobileControls::ControlPager ^ pager, System::Web::UI::MobileControls::MobileControl ^ control, int itemCount, int itemsPerPage, int itemWeight);
public ItemPager (System.Web.UI.MobileControls.ControlPager pager, System.Web.UI.MobileControls.MobileControl control, int itemCount, int itemsPerPage, int itemWeight);
new System.Web.UI.MobileControls.ItemPager : System.Web.UI.MobileControls.ControlPager * System.Web.UI.MobileControls.MobileControl * int * int * int -> System.Web.UI.MobileControls.ItemPager
Public Sub New (pager As ControlPager, control As MobileControl, itemCount As Integer, itemsPerPage As Integer, itemWeight As Integer)

Parameters

pager
ControlPager

The control pager for the control being paginated.

control
MobileControl

The control being paginated.

itemCount
Int32

The total number of items in the control to be paginated.

itemsPerPage
Int32

The maximum number of items to be displayed per page.

itemWeight
Int32

The weight to be assigned per item. If a control considers a character to be an item, this value should be small; if a control considers a line of text to be an item, this value should be larger.

Remarks

Constructs a new ItemPager object, initializing the ControlPager and MobileControl objects; and the ItemCount, ItemsPerPage, and ItemWeight properties with the values of the pager, control, itemCount, itemsPerPage, and itemWeight parameters, respectively.

See also

Applies to