Hyperlink.OnClick Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles the Click routed event.
protected:
virtual void OnClick();
protected virtual void OnClick ();
abstract member OnClick : unit -> unit
override this.OnClick : unit -> unit
Protected Overridable Sub OnClick ()
Remarks
This method navigates to the uniform resource identifier (URI) specified by the NavigateUri property, and marks the URI as visited.
Important
Depending on the host computer's security configuration, certain forms of navigation (for example, navigating to a Universal Naming Convention (UNC) path) are not allowed in the Internet zone. In such cases, this method will demand full trust. For more information, see Code Access Security.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om