System.Web.UI.WebControls.PasswordRecovery.TextBoxStyle Property

Gets a reference to a collection of style properties that define the appearance of text boxes in the System.Web.UI.WebControls.PasswordRecovery control.

Syntax

public Style TextBoxStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.TextBoxStyle property defines the appearance of text boxes in the System.Web.UI.WebControls.PasswordRecovery control. This property is read-only; however, you can set the properties of the System.Web.UI.WebControls.Style object it returns. You can set these properties declaratively in the form Property-Subproperty, where Subproperty represents a property of the System.Web.UI.WebControls.Style class (for example, TextBoxStyle-ForeColor). You can also set the properties programmatically in the form Property.Subproperty (for example, TextBoxStyle.ForeColor).

Common settings include custom background color, text color, and font properties.

The style settings for the PasswordRecovery.TextBoxStyle property are merged with the style settings for the System.Web.UI.WebControls.PasswordRecovery control. Any settings made in the PasswordRecovery.TextBoxStyle property override the corresponding settings in properties of the System.Web.UI.WebControls.PasswordRecovery control.

The following System.Web.UI.WebControls.PasswordRecovery properties are overridden by PasswordRecovery.TextBoxStyle settings:

When you use templates to define the appearance of the System.Web.UI.WebControls.PasswordRecovery control, the PasswordRecovery.TextBoxStyle property has no effect.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0