Gets a reference to a collection of properties that define the appearance of error text in the System.Web.UI.WebControls.Login control.
Documentation for this section has not yet been entered.
The Login.FailureTextStyle property gets a reference to a System.Web.UI.WebControls.TableItemStyle object that you use to change the appearance of login failure text. The default is to display the text in red.
This property is read-only; however, you can set the properties of the System.Web.UI.WebControls.TableItemStyle 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.TableItemStyle class (for example, FailureTextStyle-ForeColor). You can set the property programmatically in the form Property.Subproperty (for example, FailureTextStyle.ForeColor).
Common settings include custom background color, text color, and font properties. The Login.FailureTextStyle property defines the appearance of the Login.FailureText property.
The style settings for the Login.FailureTextStyle property are merged with the style settings for the System.Web.UI.WebControls.Login control. Any settings made in the Login.FailureTextStyle property override the corresponding settings in properties of the System.Web.UI.WebControls.Login control.
The following System.Web.UI.WebControls.Login control style properties are overridden by Login.FailureTextStyle settings:
When you use templates to define the appearance of the System.Web.UI.WebControls.Login control, the Login.FailureTextStyle property has no effect.