StyleSheet.ReferencePath 属性

定义

获取或设置对用户控件(.ascx 文件)的引用。 默认值是 null。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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 ,就像在页面上的样式表中一样。

适用于

另请参阅