
Style | 783
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) ➝ SelectionList(System.Web.UI.IPost-
BackDataHandler, IListControl)
Returned By
System.Web.UI.MobileControls.Adapters.HtmlSelectionListAdapter.Control, System.Web.UI.
MobileControls.Adapters.WmlSelectionListAdapter.Control
Style
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
Styles define multiple appearance-related properties that apply to all mobile controls.
These settings configure alignment, foreground and background color, and font. In
addition, specialized controls can use custom Style objects that add additional proper-
ties. Style objects are most often used with stylesheets, which allow an easy way to
apply consistent style settings to multiple controls. See the StyleSheet class reference for
more information.
Note that mobile controls support a wide range of devices. Style properties may be
ignored, depending on the capabilities of the client device.
public virtual string DataMember{set; get; }
public virtual object DataSource{set; get; }
public string DataTextField{set; get; }
public string DataValueField ...