Share via


Command.ImageUrl プロパティ

定義

Command コントロールをイメージ ボタンとしてレンダリングするときにそのコントロールのイメージ ソースの URL を設定するか、または返します。 既定値は Empty です。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

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

プロパティ値

Command をイメージ ボタンとしてレンダリングするときの、そのコントロールのイメージ ソースの URL。

属性

注釈

このプロパティが でなく Empty 、デバイスがイメージ ボタンを処理できる場合、 Command コントロールはボタンまたはリンク テキストの代わりにイメージを使用します。

適用対象

こちらもご覧ください