Hi all,
I am using listview control and taking Listviewitems as a hyperlink and opening link in web broswer while single click through the below code
<ListView.View> <GridView> <GridViewColumn Header="Title" Width="100" > <GridViewColumn.CellTemplate> <DataTemplate> <Label Name="urlToContent" MinWidth="100" Width="Auto" MouseDoubleClick="Label_MouseDoubleClick"> <Hyperlink NavigateUri="{Binding }" Name="hlkURL" RequestNavigate="OpenPageRequestNavigate"> <TextBlock Text="{Binding }"/> </Hyperlink> </Label> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> </GridView> </ListView.View>
but i want to do some more functionality in it :-
1.on single click my listview item should be selected.
2.on double click i want to open selected listview item in web browser.
please let me know how i will fix above issues.
Thanks