System.Web.UI.WebControls.PasswordRecovery.SubmitButtonStyle Property

Gets a reference to a collection of properties that define the appearance of Submit buttons in the System.Web.UI.WebControls.PasswordRecovery control.

Syntax

public Style SubmitButtonStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

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

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

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