MobileControl::StyleReference Property
.NET Framework (current version)
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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(false)] property String^ StyleReference { virtual String^ get(); virtual void set(String^ value); }
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
Available since 1.1
Available since 1.1
Styles
MobileControl Class
System.Web.UI.MobileControls Namespace
Creating New Styles
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls
Show: