次の方法で共有


Table.BackImageUrl プロパティ

Table コントロールの背景に表示するイメージの URL を取得または設定します。

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)

構文

'宣言
Public Overridable Property BackImageUrl As String
'使用
Dim instance As Table
Dim value As String

value = instance.BackImageUrl

instance.BackImageUrl = value
public virtual string BackImageUrl { get; set; }
public:
virtual property String^ BackImageUrl {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_BackImageUrl ()

/** @property */
public void set_BackImageUrl (String value)
public function get BackImageUrl () : String

public function set BackImageUrl (value : String)
適用できません。

プロパティ値

Table コントロールの背景イメージの URL。既定値は String.Empty です。

解説

BackImageUrl プロパティを使用して、Table コントロールの背景に表示するイメージの場所を指定します。相対 URL または絶対 URL を使用できます。相対 URL は、サーバー上の完全パスを指定せずに、イメージの位置を Web ページまたはユーザー コントロールの位置と関連付けます。このパスは、Web ページの位置に対する相対パスです。これにより、コード内でイメージのパスを更新しなくても、サーバー上の別のディレクトリにサイト全体を簡単に移動できます。絶対 URL では完全パスを指定するため、サイトをほかのディレクトリに移動する場合は、コードを更新する必要があります。

メモメモ :

イメージが Table よりも小さい場合は、並べて表示されます。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

参照

関連項目

Table クラス
Table メンバ
System.Web.UI.WebControls 名前空間

その他の技術情報

Table、TableRow、TableCell の各 Web サーバー コントロール