StyleSheet.StyleReference Property

 

Gets or sets a reference to the style properties for a 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)

[BindableAttribute(false)]
[BrowsableAttribute(false)]
public override string StyleReference { get; set; }

Property Value

Type: System.String

A reference to the style properties for a control.

Exception Condition
Exception

The StyleReference property was accessed at run time.

-or-

An attempt was made to set the property.

The value of the StyleReference property must be the Name property of a Style object.

.NET Framework
Available since 1.1
Return to top
Show: