Back to Devexpress

WizardControl.HyperlinkClick Event

windowsforms-devexpress-dot-xtrawizard-dot-wizardcontrol-8e50cef3.md

latest2.9 KB
Original Source

WizardControl.HyperlinkClick Event

Fires when a user clicks a hyperlink on a wizard page.

Namespace : DevExpress.XtraWizard

Assembly : DevExpress.XtraWizard.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public event WizardHyperlinkClickEventHandler HyperlinkClick
vb
Public Event HyperlinkClick As WizardHyperlinkClickEventHandler

Event Data

The HyperlinkClick event's data class is HyperlinkClickEventArgs. The following properties provide information specific to this event:

PropertyDescription
LinkGet or sets the URL of the clicked hyperlink.
MouseArgsGets or sets mouse coordinates calculated from the toolbar’s upper left corner.
TextGets or sets the hyperlink alt text. Note that modifying this text does not change the item caption.

Remarks

If the AllowHtmlText property is set to true , you can use HTML tags to format the text displayed on wizard pages. For example, you can specify the font, its size, attributes (bold, italic, underlined), etc. You can also display a hyperlink in the text. To respond to a click on the hyperlink, handle the HyperlinkClick event.

Example

The code below shows how to display a hyperlink in the text at the bottom of a completion page.

csharp
wizardControl1.AllowHtmlText = true;
completionWizardPage1.ProceedText = "Thank you for your interest in <href=www.devexpress.com>DevExpress</href> XtraWizard Suite.";
wizardControl1.HyperlinkClick += (s, e) => { 
    System.Diagnostics.Process.Start(e.Link); 
};
vb
wizardControl1.AllowHtmlText = True
completionWizardPage1.ProceedText = "Thank you for your interest in <href=www.devexpress.com>DevExpress</href> XtraWizard Suite."
AddHandler wizardControl1.HyperlinkClick, Sub(s, e)
    System.Diagnostics.Process.Start(e.Link)
End Sub

See Also

AllowHtmlText

WizardControl Class

WizardControl Members

DevExpress.XtraWizard Namespace