Hello,
Welcome to Microsoft Q&A!
How to Change Only Underline Color of Hyperlink in TextBlock in UWP C#
I have to say, you can't edit the Hyperlink color without changing text color. Hyperlink only contains Foreground property that cause text color change at same time.
Can we create custom textblock and inlines in .NET Maui Graphics Or WIN2D with the pure customizable hyperlink and also clickable... ?
Sure, you could use Win2D to draw text manually with under line, but it will be complicated, for more detail please refer Win2d document.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.