ControlPager.GetItemPager(MobileControl, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns an ItemPager object for paginating the contents of the given control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
System::Web::UI::MobileControls::ItemPager ^ GetItemPager(System::Web::UI::MobileControls::MobileControl ^ control, int itemCount, int itemsPerPage, int itemWeight);
public System.Web.UI.MobileControls.ItemPager GetItemPager (System.Web.UI.MobileControls.MobileControl control, int itemCount, int itemsPerPage, int itemWeight);
member this.GetItemPager : System.Web.UI.MobileControls.MobileControl * int * int * int -> System.Web.UI.MobileControls.ItemPager
Public Function GetItemPager (control As MobileControl, itemCount As Integer, itemsPerPage As Integer, itemWeight As Integer) As ItemPager
Parameters
- control
- MobileControl
The control to be paginated.
- itemsPerPage
- Int32
The maximum number of items on a page.
Returns
The ItemPager for paginating the contents of the given control.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.