MobileControl::CreateStyle Method ()

 
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.

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 www.asp.net/mobile Web site.

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

protected:
virtual Style^ CreateStyle()

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
Show: