how can we add a webbrowser in a flipview in wpf
.
eg, having 4 address
www.google.com, www.gmail.com, www.hotmail.com, www.yahoo.com
these four address should move with in 30 sec automatically in flipview. (like a image slider)
- note: with image i tried it is working fine. but with
webbroswer
it is not working fine.
<Window.DataContext>
<local:LinksData/>
</Window.DataContext>
<Window.Resources>
<DataTemplate x:Key="ItemContentTemplate">
<Grid x:Name="Grid_Content" Margin="100, 0, 100, 0">
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<WebBrowser HorizontalAlignment="Center" Source="{Binding Name}" Margin="0,15,0,5" />
</Grid>
</DataTemplate>
</Window.Resources>
<Grid Background="White" >
<dxwui:FlipView ItemsSource="{Binding DataSource}" ItemTemplate="{StaticResource ItemContentTemplate}"/>
</Grid>
XML file
<?xml version="1.0" encoding="utf-8" ?>
<Links xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Link>
<Name>"http://www.google.com"</Name>
</Link>
<Link>
<Name>"http://www.yahoo.com"</Name>
</Link>
<Link>
<Name>"http://www.outlook.com"</Name>
</Link>
<Link>
<Name>"http://www.linkedin.com"</Name>
</Link>
</Links>