Gets a reference to a collection of style properties that define the appearance of text boxes in the PasswordRecovery control.
Assembly: System.Web (in System.Web.dll)
The PasswordRecovery control. This property is read-only; however, you can set the properties of the Style object it returns. You can set these properties declaratively in the form Property-Subproperty, where Subproperty represents a property of the Style class (for example, TextBoxStyle-ForeColor). You can also set the properties programmatically in the form Property.Subproperty (for example, TextBoxStyle.ForeColor).property defines the appearance of text boxes in the
Common settings include custom background color, text color, and font properties.
The following PasswordRecovery properties are overridden by settings:
When you use templates to define the appearance of the PasswordRecovery control, the property has no effect.
The following code example changes the appearance of the User Name text box if the user makes a mistake entering his or her user name.
This example contains a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.
Available since 2.0