System.Web.UI.WebControls.Wizard.NavigationButtonStyle Property

Gets a reference to a System.Web.UI.WebControls.Style object that defines the settings for the buttons in the navigation area on the 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 NavigationButtonStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Wizard.NavigationButtonStyle property defines the appearance for the buttons in the navigation area on the System.Web.UI.WebControls.Wizard control. The Wizard.NavigationButtonStyle 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.NavigationButtonStyle property are merged with the individual button styles. Any setting that is applied in the individual button style properties overrides the corresponding setting in the Wizard.NavigationButtonStyle property. For example, if you set the FinishPreviousButtonStyle.ForeColor property to "red" and the NavigationButtonStyle.ForeColor property to "green", the color for the button will be red because the individual style settings of the Wizard.FinishPreviousButtonStyle property override the settings of the Wizard.NavigationButtonStyle property.

The following Wizard.NavigationButtonStyle property styles are overridden by individual button style settings:

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0