Hyperlink.Click event

Applies to Windows and Windows Phone

Occurs when the Hyperlink is clicked.

Syntax


public event TypedEventHandler<Hyperlink, HyperlinkClickEventArgs> Click


<Hyperlink Click="eventhandler"/>

Event information

Delegate TypedEventHandler<Hyperlink, HyperlinkClickEventArgs>

Remarks

By default, a Hyperlink appears as a text hyperlink. When a user clicks it, it opens the URI you specify in the NavigateUri property in the default browser. (More specifically, it launches in the app that's registered for the particular scheme/protocol of the NavigateUri.) You don't need to handle the Click event to cause the navigation. The Click event is intended for navigation within the app, for example if you want a new app page to load.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Documents
Windows::UI::Xaml::Documents [C++]

Metadata

Windows.winmd

See also

Hyperlink

 

 

Show:
© 2014 Microsoft. All rights reserved.