System.Web.UI.WebControls.Wizard.StepStyle Property

Gets a reference to a System.Web.UI.WebControls.Style object that defines the settings for the System.Web.UI.WebControls.WizardStep objects.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The Wizard.StepStyle property gets a reference to a System.Web.UI.WebControls.Style object that defines the appearance for the System.Web.UI.WebControls.WizardStep objects on the System.Web.UI.WebControls.Wizard control. The Wizard.StepStyle property is read-only; however, you can set the properties of the System.Web.UI.WebControls.Style 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.Style class (for example, CancelButtonStyle-ForeColor). You can set a property programmatically in the form Property.Subproperty (for example, CancelButtonStyle.ForeColor).

Common settings include custom background color, text color, and font properties. The style settings for the Wizard.StepStyle property are merged with the style settings for the WebControl.Style property of the System.Web.UI.WebControls.Wizard control. Any setting that is applied in the Wizard.StepStyle property overrides the corresponding setting in the WebControl.Style property of the System.Web.UI.WebControls.Wizard control.

The following Wizard.StepStyle properties can be set to override the WebControl.Style properties of the System.Web.UI.WebControls.Wizard control:

When you use a System.Web.UI.WebControls.TemplatedWizardStep template to define the appearance for the System.Web.UI.WebControls.WizardStep objects, the Wizard.StepStyle 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