0
Reply

Opening Hyperlink from document viewer via Touch event WPF

pappu singh

pappu singh

Jun 16 2015 7:13 AM
429


Hi, I have a word document and opening in document viewer in WPF C#. word document is having some hyperlinks, to function these links I have added RequestNavigateEvent event handler so it's working fine but not working in touch device on touch of these links. My code is like this...
public MsDocumenViewer()
{
InitializeComponent();
documentViewer1.AddHandler(Hyperlink.RequestNavigateEvent, new RequestNavigateEventHandler(link_RequestNavigate));
}

void link_RequestNavigate(object sender, RequestNavigateEventArgs e)
{
string urlwithJunkCharacter = e.Uri.ToString();
}

Please help me to achieve this.
Thanks.