ControlPager Class
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.
Caution
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.
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
public 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
[<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.")>]
type ControlPager = class
Public Class ControlPager
- Inheritance
-
ControlPager
- 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) |
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 |
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 |
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 |
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 |
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 |
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) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
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) |
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() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |