Rediger

Del via


StyleSheet.StyleReference Property

Definition

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.Browsable(false)]
public override string StyleReference { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.StyleReference : string with get, set
Public Overrides Property StyleReference As String

Property Value

A reference to the style properties for a control.

Attributes

Exceptions

The StyleReference property was accessed at run time.

-or-

An attempt was made to set the property.

Remarks

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

Applies to

See also