Skip to content

HyperlinkButton underline logic doesn't match WinUI #17262

@Youssef1313

Description

@Youssef1313

Current behavior

Currently, we always underline if the ContentPresenter child is ImplicitTextBlock.

On WinUI, there is one extra condition needed. It's one of the two:

  1. Having HighContrast theme
  2. Having HyperlinkUnderlineVisible set to true (it defaults to false)

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

difficulty/starter 🚀Categorizes an issue for which the difficulty level is reachable by newcomerskind/bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions