Hi,
I'm using Q1 2015 with .NET 4.
The Hyperlink in the ContentTemplate of the DiagramShape is not working. If you remove the BusyIndicator the Hyperlink works.
Thanks
Frank
I'm using Q1 2015 with .NET 4.
The Hyperlink in the ContentTemplate of the DiagramShape is not working. If you remove the BusyIndicator the Hyperlink works.
<
Window
x:Class
=
"Hyperlink.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadBusyIndicator
>
<
telerik:RadDiagram
IsEditable
=
"False"
SelectionMode
=
"None"
>
<
telerik:RadDiagramShape
>
<
telerik:RadDiagramShape.ContentTemplate
>
<
DataTemplate
>
<
TextBlock
>
<
Hyperlink
NavigateUri
=
"http://www.telerik.com"
RequestNavigate
=
"OnNavigate"
>
<
TextBlock
Text
=
"Telerik"
></
TextBlock
>
</
Hyperlink
>
</
TextBlock
>
</
DataTemplate
>
</
telerik:RadDiagramShape.ContentTemplate
>
</
telerik:RadDiagramShape
>
</
telerik:RadDiagram
>
</
telerik:RadBusyIndicator
>
</
Grid
>
</
Window
>
using
System.Diagnostics;
using
System.Windows;
using
System.Windows.Navigation;
namespace
Hyperlink
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
}
private
void
OnNavigate(
object
sender, RequestNavigateEventArgs e)
{
Process.Start(e.Uri.AbsoluteUri);
e.Handled =
true
;
}
}
}
Thanks
Frank