System.Web.UI.WebControls.Login.LoginButtonStyle Property

Gets a reference to the System.Web.UI.WebControls.Style object that allows you to set the appearance of the login button in the System.Web.UI.WebControls.Login control.

Syntax

[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
[System.ComponentModel.DefaultValue(null)]
public Style LoginButtonStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Login.LoginButtonStyle property to control the appearance of the login button in the System.Web.UI.WebControls.Login 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, LoginButtonStyle-ForeColor). You can set the property programmatically in the form Property.Subproperty (for example, LoginButtonStyle.ForeColor).

Common settings include custom background color, text color, and font properties. The Login.LoginButtonStyle property defines the appearance of the login button.

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

The following System.Web.UI.WebControls.Login style properties are overridden by Login.LoginButtonStyle settings:

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