Edit

Share via


Command.ImageUrl Property

Definition

Sets or returns the URL of the image source for the Command control when the control is rendered as an image button. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see 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

Property Value

The URL of the image source for the Command when the control is rendered as an image button.

Attributes

Remarks

If this property is not Empty and the device can handle image buttons, the Command control uses the image instead of a button or link text.

Applies to

See also