It seems I can format a HyperlinkButton in the same way I can format a TextBlock:
HyperlinkButton hyperlinkButton = new HyperlinkButton();
hyperlinkButton.Content = "google";
hyperlinkButton.NavigateUri = new Uri("http://www.google.com");
hyperlinkButton.TargetName = "blank";
hyperlinkButton.Foreground = XamlHelpers.GetColorFromHex("555");
hyperlinkButton.TextDecoration = ... //error
hyperlinkButton.FontWeight = FontWeights.Bold;
However, TextDecoration doesn't work as it does in TextBlock. I get an automatic underline upon mouseover but would like it to have an underline before mouseover as well.
How can I add an underline to a HyperlinkButton in Silverlight?