question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add HyperlinkButton

See original GitHub issue

Is your feature request related to a problem? Please describe.

Other XAML frameworks have a HyperlinkButton (not to be confused with an inline hyperlink text element inside of a text control). This control is useful to:

  1. Simplify the common use case of a hyperlink button
  2. Provide a standard look-and-feel for hyperlinks in the framework
  3. Provide a cross-platform way of navigating to Uri like webpages.
  4. Automatically manages a change in text color after a link is clicked the first time.

There are additional opportunities here as well. The HyperlinkButton could have a new NavigateUri property added (like UWP). If a NavigateUri is set, then the HyperlinkButton is pressed, that Uri would be opened in a platform-specific way. This would greatly simplify opening something like a webpage on each platform.

Describe the solution you’d like

Add a new HyperlinkButton control derived from button with a standardized style.

Describe alternatives you’ve considered

I’ve seen often times in the past developers are told to just create their own custom Button style and use that instead.

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:19 (18 by maintainers)

github_iconTop GitHub Comments

4reactions
timuniecommented, Feb 18, 2022

Can’t we have a build in command to navigate to a Hyperlink, which accepts an URI as CommandParameter?

This would make it easy to use and also keep the flexibility.

2reactions
robloocommented, Oct 29, 2022

I’ve decided not to add this control for 11.0. I still plan to add it at some point in the future – probably for 12.0 in a year or so. But time is limited and this isn’t critical. This control can be added without any breaking changes at any point in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HyperlinkButton Class (Windows.UI.Xaml.Controls)
Hyperlink and HyperlinkButton. There are two ways that you can add a hyperlink to a XAML app. Hyperlink and HyperlinkButton have the similar...
Read more >
WPF HyperlinkButton in .NET 3.5 SP1?
I have a WPF datagrid which has one column of type DataGridTemplateColumn and I want to change data template to add a hyperlinkbutton...
Read more >
How to Add an HTML Button that Acts Like a Link
There are several ways of creating an HTML button, that acts like a link (i.e., clicking on it the user is redirected to...
Read more >
About HyperLinkButton components
HyperLinkButton components format the Caption text as hypertext links (that is, blue font face and underlined) and typically are used to create a...
Read more >
HyperlinkButton
You can create a configuration item for a HyperlinkButton control by creating an item based on the HyperlinkButton Parameters template. The configuration item ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found