MobileControl.ApplyStyleSheetSkin Method (Page)

 

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 Overrides NotOverridable Sub ApplyStyleSheetSkin (
	page As 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: