Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StyleReference Property

MobileControl.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)

'Declaration
<BindableAttribute(False)> _
Public Overridable Property StyleReference As String

Property Value

Type: System.String
A reference to the style properties for a control.

The value of the StyleReference property must be the Name property of a Style object. You can use the StyleReference property to share styles across controls, either by using inheritance or by using the StyleReference property of a style sheet. For more information, see the Styles documentation. To find out how to create a new style, see Creating New Styles.

.NET Framework

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