Gets a reference to a collection of properties that define the appearance of error text in the Login control.
Assembly: System.Web (in System.Web.dll)
The property gets a reference to a 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 TableItemStyle object it returns. You can set these properties declaratively in the form Property-Subproperty, where Subproperty represents a property of the 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 property defines the appearance of the FailureText property.
The following Login control style properties are overridden by settings:
When you use templates to define the appearance of the Login control, the property has no effect.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2