Login::PasswordLabelText Property

 

Gets or sets the text of the label for the Password text box.

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

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

Property Value

Type: System::String^

The text of the label for the Password text box. The default is "Password:".

The PasswordLabelText property contains the label text for the Password text box.

The TextLayout property defines where the field label is positioned.

The default text for the control is localized based on the server's current locale.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

The following code example sets the PasswordLabelText property to "User Password:".

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

.NET Framework
Available since 2.0
Return to top
Show: