System.Web.UI.WebControls.Wizard.SideBarButtonStyle Property

Gets a reference to a System.Web.UI.WebControls.Style object that defines the settings for the buttons on the sidebar.

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 Style SideBarButtonStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Wizard.SideBarButtonStyle property defines the appearance of the buttons on the sidebar of the System.Web.UI.WebControls.Wizard control. The Wizard.SideBarButtonStyle 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.SideBarButtonStyle property are merged with the style settings for the System.Web.UI.WebControls.Wizard control. Any settings that are applied in the Wizard.SideBarButtonStyle property override the corresponding settings in the properties of the System.Web.UI.WebControls.Wizard control.

The following System.Web.UI.WebControls.Wizard style properties are overridden by Wizard.SideBarButtonStyle settings:

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