通过


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 的 URL。

属性

注解

如果此属性不是 Empty 并且设备可以处理图像按钮,控件 Command 将使用图像而不是按钮或链接文本。

适用于

另请参阅