System.Web.UI.WebControls.CreateUserWizard.LabelStyle Property

Gets a reference to a collection of properties that define the appearance of labels.

Syntax

public TableItemStyle LabelStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The CreateUserWizard.LabelStyle property defines the appearance of labels in the System.Web.UI.WebControls.CreateUserWizard control. This property is read-only; however, you can set the properties of the System.Web.UI.WebControls.TableItemStyle object that 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, LabelStyle-ForeColor). You can set the property programmatically in the form Property.Subproperty (for example, LabelStyle.ForeColor).

The CreateUserWizard.LabelStyle property defines the appearance of the following properties:

The style settings for the CreateUserWizard.LabelStyle property are merged with the style settings for the System.Web.UI.WebControls.CreateUserWizard control. Any settings applied in the CreateUserWizard.LabelStyle property override the corresponding settings in properties of the System.Web.UI.WebControls.CreateUserWizard control.

The following System.Web.UI.WebControls.CreateUserWizard style properties are overridden by CreateUserWizard.LabelStyle settings:

However, when you use templates to define the appearance of the System.Web.UI.WebControls.CreateUserWizard control, the CreateUserWizard.LabelStyle 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