System.Web.UI.WebControls.Wizard.CancelButtonStyle Property

Gets a reference to a collection of style properties that define the appearance of the Cancel button.

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

Value

Documentation for this section has not yet been entered.

Remarks

The Wizard.CancelButtonStyle property defines the appearance for the Cancel button on the System.Web.UI.WebControls.Wizard control. The Wizard.CancelButtonStyle 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.CancelButtonStyle property are merged with the style settings for the Wizard.NavigationButtonStyle property. Any setting that is applied in the Wizard.CancelButtonStyle property overrides the corresponding setting in the Wizard.NavigationButtonStyle property.

Requirements

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