LoginStatus::LoginImageUrl Property

 

Gets or sets the URL of the image used for the login link.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property String^ LoginImageUrl {
	virtual String^ get();
	virtual void set(String^ value);
}

Property Value

Type: System::String^

A string containing the URL of the image used for the login link. The default is Empty.

The LoginImageUrl property contains the location of the image used for the login link. The LoginText property is used as the alternative text for the image.

If LoginImageUrl is empty, the LoginText property is rendered as the link.

The following code example shows how to set the LoginImageUrl property to a specific image.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: