
742
|
Chapter 40: The System.Web.UI.MobileControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
MobileControl(System.Web.UI.IAttributeAccessor) ➝ TextControl ➝ BaseValidator(System.
Web.UI.IValidator)
➝ CompareValidator
Constants
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
This class is entirely made up of read-only constants for the mobile page. Controls can
make use of these constants when rendering markup.
ControlPager
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
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 (Page-
Weight) and the remaining space on the page (RemainingWeight). As a rule of thumb, each
display line corresponds to 100 units.
public class Constants {
// Public Constructors
public Constants();
// Public Static Fields
public static readonly string AlternatingItemTemplateTag; // =AlternatingItemTemplate ...