System.Web.UI.WebControls.Login.TitleTextStyle Property

Gets a reference to a collection of properties that define the appearance of the title text 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 TableItemStyle TitleTextStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Login.TitleTextStyle property gets a reference to a System.Web.UI.WebControls.TableItemStyle object that you use to change the appearance of the title contained in the Login.TitleText property.

The Login.TitleTextStyle property defines the appearance of the title 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.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, TitleStyle-ForeColor). You can set the property programmatically in the form Property.Subproperty (for example, TitleStyle.ForeColor).

Common settings include custom background color, text color, and font properties. The Login.TitleTextStyle property defines the appearance of the Login.TitleText property.

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

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