Share via


StyleSheet.ReferencePath プロパティ

定義

ユーザー コントロール (.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 できます。

適用対象

こちらもご覧ください