ControlPager ControlPager ControlPager ControlPager Class

Definition

Warning

This API is now obsolete.

Used by a form to paginate its controls. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class ControlPager
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class ControlPager
type ControlPager = class
Public Class ControlPager
Inheritance
ControlPagerControlPagerControlPagerControlPager
Attributes

Remarks

During pagination, a ControlPager object is passed to each control on the form, and is used by the control to determine the control's page index.

Constructors

ControlPager(Form, Int32) ControlPager(Form, Int32) ControlPager(Form, Int32) ControlPager(Form, Int32)

Initializes a new instance of the ControlPager class for the specified form that uses the specified weight for a page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Fields

DefaultWeight DefaultWeight DefaultWeight DefaultWeight

Returns the assigned weight for a page. This field is read-only. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

UseDefaultWeight UseDefaultWeight UseDefaultWeight UseDefaultWeight

Returns whether to use the value of the DefaultWeight field for pagination. This field is read-only. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

PageCount PageCount PageCount PageCount

Sets or returns the number of form pages currently created by the pager. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

PageWeight PageWeight PageWeight PageWeight

Returns the optimal weight of a form page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RemainingWeight RemainingWeight RemainingWeight RemainingWeight

Sets or returns the weight that remains on the current ASP.NET mobile Web Forms page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetItemPager(MobileControl, Int32, Int32, Int32) GetItemPager(MobileControl, Int32, Int32, Int32) GetItemPager(MobileControl, Int32, Int32, Int32) GetItemPager(MobileControl, Int32, Int32, Int32)

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.

GetPage(Int32) GetPage(Int32) GetPage(Int32) GetPage(Int32)

Returns a newly assigned page index based on the weight of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Security

AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Applies to

See also