共用方式為


StyleSheet.ReferencePath 屬性

定義

取得或設定使用者控制項 (User Control) (.ascx 檔) 的參考。 預設值是 null。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with 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 ,就像是在頁面上的樣式表單中一樣。

適用於

另請參閱