MobileControl.StyleReference Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Mobile Apps & Sites with ASP.NET.
public:
virtual property System::String ^ StyleReference { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.StyleReferenceConverter))]
public virtual string StyleReference { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.StyleReferenceConverter))>]
member this.StyleReference : string with get, set
Public Overridable Property StyleReference As String
Property Value
A reference to the style properties for a control.
- Attributes
Remarks
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.