Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MobileControl.ApplyStyleSheetSkin Method

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)

abstract ApplyStyleSheetSkin : 
        page:Page -> unit  
override ApplyStyleSheetSkin : 
        page:Page -> unit

Parameters

page
Type: System.Web.UI.Page

The Page containing the control.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft