CreateStyle Method

MobileControl.CreateStyle Method ()


Constructs and returns the style object to be associated with the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

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

abstract CreateStyle : unit -> Style
override CreateStyle : unit -> Style

Return Value

Type: System.Web.UI.MobileControls.Style

The style object to be associated with the control.

Inheriting classes can override this method to return a more specific style class.

.NET Framework
Available since 1.1

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

Return to top
© 2016 Microsoft