StyleSheet.ReferencePath 属性

定义

获取或设置对用户控件(.ascx 文件)的引用。 默认值为 null。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 property System::String ^ ReferencePath { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string ReferencePath { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ReferencePath : string with get, set
Public Property ReferencePath As String

属性值

对用户控件(.ascx 文件)的引用。

属性

注解

页面上的样式表继承在引用的用户控件根级别定义的样式表中的样式。 例如,如果用户控件上的样式表具有一个名为 Style1的属性,则页面可以访问 Style1 它,就好像在页面上的样式表中一样。

适用于

另请参阅