System.Web.UI.WebControls.PasswordRecovery.SuccessTextStyle Property

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

Syntax

public TableItemStyle SuccessTextStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.SuccessTextStyle property defines the appearance of text in the Success view of 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, SuccessTextStyle-ForeColor). You can also set the properties programmatically in the form Property.Subproperty (for example, SuccessTextStyle.ForeColor).

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

The style settings for the PasswordRecovery.SuccessTextStyle property are merged with the style settings for the System.Web.UI.WebControls.PasswordRecovery control. Any settings made in the PasswordRecovery.SuccessTextStyle 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.SuccessTextStyle settings:

When you use templates to define the appearance of the Success view of the System.Web.UI.WebControls.PasswordRecovery control, the PasswordRecovery.SuccessTextStyle 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