MobileControl.ApplyStyleSheetSkin Method (Page)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Applies the style properties defined in the page style sheet to the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public override sealed void ApplyStyleSheetSkin(
	Page page
)

Parameters

page
Type: System.Web.UI.Page

The Page containing the control.

Exception Condition
NotSupportedException

In all cases.

The MobileControl class does not support theming. If an attempt to call the ApplyStyleSheetSkin method is made, a NotSupportedException is thrown.

.NET Framework
Available since 2.0

MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls

Return to top
Show: