Redigera

Dela via


Wizard.CancelButtonText Property

Definition

Gets or sets the text caption that is displayed for the Cancel button.

public:
 virtual property System::String ^ CancelButtonText { System::String ^ get(); void set(System::String ^ value); };
public virtual string CancelButtonText { get; set; }
member this.CancelButtonText : string with get, set
Public Overridable Property CancelButtonText As String

Property Value

The text caption displayed for Cancel on the Wizard. The default is "Cancel". The default text for the control is localized based on the current locale for the server.

Remarks

The CancelButtonText property contains the text that is displayed for the Cancel button on the Wizard control. Depending on the value of the CancelButtonType property, the CancelButtonText property can appear as text on a button, as text displayed as an alternative to an image, or as the text of a link. The following table lists the CancelButtonType values and their respective effects on the Cancel button text.

Button Text appears on the button.

Image Text appears as alternative text for the image.

Link Text appears as a link.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and Globalization and Localization.

Applies to

See also