
StyleSheetControlBuilder | 785
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
To use an external style sheet, you must create a local StyleSheet control, and set the
ReferencePath property to the path name of the .ascx file that contains the external style
sheet.
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) ➝ StyleSheet
Returned By
MobilePage.StyleSheet
Passed To
MobilePage.StyleSheet
StyleSheetControlBuilder
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
The FormControlBuilder class is used internally by ASP.NET. It is created by the page parser
when it encounters a <mobile:StyleSheet> tag, and used to process contained styles.
public class StyleSheet : MobileControl {
// Public Constructors
public StyleSheet();
// Public Static Properties
public static StyleSheet Default{get; }
// Public Instance Properties
public override Alignment Alignment{set; get; } // overrides MobileControl
public override Color BackColor{set; get; } // overrides MobileControl
public override bool BreakAfter{set; get; } // overrides MobileControl
public override bool EnableViewState{set; get; } // overrides System.Web.UI.Control
public override ...