Command.ImageUrl 屬性

定義

當控制項被渲染成影像按鈕時,會設定或回傳該控制項的 Command 影像來源 URL。 預設值為 Empty。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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 的網址。

屬性

備註

若此屬性不 Empty 符且裝置能處理圖片按鈕,控制 Command 項則使用圖片而非按鈕或連結文字。

適用於

另請參閱