I am using WebBrowser control inside DataTemplate. To show data at UI , I am using <GridView> inside <ListView.View> and using CellTemplate property of GridViewColumn. Now when I scroll down grid and then Scroll Up, all the WebBrowser control remains at top and hide the all menus of Page, It means WebBrower controls does not move with Scroll Up and Down. <pre lang="xml"> <pre><ListView x:Name="lvData" ItemContainerStyle="{StaticResource ListViewItemStyle1}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="10 0 10 10" SelectionMode="Multiple" Grid.Row="3" SizeChanged="OnContentChanged" ScrollViewer.ScrollChanged="lvData_OnScrollChanged" GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler" ScrollViewer.IsDeferredScrollingEnabled="True"> <ListView.View> <GridView x:Name="gv"> ......... <GridViewColumn Header="Imported Skins" CellTemplate="{StaticResource WebCellTemplate}" Width="300" /> </GridView> </ListView.View> </ListView> <DataTemplate x:Key="WebCellTemplate"> <Grid ToolTip="{Binding Path=NewValue}"> <TextBlock.../> <Image...../> <WebBrowser HorizontalAlignment="Left" c:WebBrowserUtility.BindableSource="{Binding Path=NewFile}" Visibility="{Binding Path=NewValue, Converter={StaticResource WebConverter}}" /> </Grid> </DataTemplate>
I tried using CefSharp.WPF dll but it could not work.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)