I can't seem to find how I can intercept the hyperlink clicked event from a hyperlink in a cell in a RadSpreadSheet .The RadSpreadSheet is inside a RadRibbonWindow, if that makes a difference.
I've tried doing the following, but it does not work:
public MainWindow()
{
InitializeComponent();
this.AddHandler(Hyperlink.ClickEvent, new RoutedEventHandler(HyperlinkClicked));
}
private static void HyperlinkClicked(object sender, RoutedEventArgs e)
{
// Some code
}
What is the correct solution to handle when a hyperlink is clicked?