
736
|
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) ➝ AdRotator
Alignment
System.Web.UI.MobileControls (system.web.mobile.dll)
serializable
enum
The Alignment enumeration is used to set the horizontal positioning of an item on its
parent container, such as a panel or form. Every mobile control supports this option
through the base MobileControl.Alignment property. For example, you can use this property
to set an image so it aligns to the right side of a form. If you use the value NotSet the
alignment is inherited from the control’s style or, if the style is not defined, from the
control’s parent control.
// Events
public event AdCreatedEventHandler AdCreated;
}
Figure 40-5. Control builders and other types
System.Web.UI System.Web.UI.MobileControls
ControlBuilder
CommandEventArgs
System.Web.UI.WebControls
DeviceSpecificChoiceControlBuilder
DeviceSpecificControlBuilder
MobileControlBuilder
ListControlBuilder
LiteralTextContainerControlBuilder
LiteralTextControlBuilder
ObjectListControlBuilder
StyleSheetControlBuilder
TextBoxControlBuilder
FormControlBuilder
PanelControlBuilder ...