WPToolkit
WPToolkit copied to clipboard
FlipView - property to set if manipulation was handled or not
Hi, could you please add some bool property to FlipView which in default would be true but I could set it to false. It should be used for e.Handled in Manipulation events. I would like to use FlipView in scroll control but now when I tried to use FlipView and vertical scroll doesn't do anything (horizontal scrolling with images is working great :) ). Is it possible? Thanks
Could you provide a sample app that demonstrates your use case?
Hi, sorry for late response. I am using it with another component HtmlTextBlock (https://mytoolkit.codeplex.com/wikipage?title=HtmlTextBlock). Something like this:
<temp:HtmlTextBlock x:Name="HtmlPresenter" Grid.Row="1" ShowHeader="True" ShowFooter="{Binding IsFooter}"
Width="480" InnerMargin="12,0,12,0" Margin="0,0,0,0"
Foreground="{StaticResource TextColor}"
Html="{Binding Article.Body}">
<temp:HtmlTextBlock.HeaderTemplate>
<DataTemplate>
<StackPanel >
...
<toolkit:FlipView x:Name="ImagesFlipView"
ItemTemplate="{StaticResource ThumbnailItemTemplate}"
ItemsSource="{Binding ArticleThumbnails.ThumbnailItems}"
Margin="0"
SelectionChanged="ImagesFlipView_SelectionChanged"
Tap="ImagesFlipView_Tap"/>
...
</StackPanel>
</DataTemplate>
</temp:HtmlTextBlock.HeaderTemplate>
</temp:HtmlTextBlock>
Problem with scrolling. All content in HtmlTextBlock.HeaderTemplate is scrolling ok but not FlipView. As I wrote I could horizontally swipe images but I want to vertically change scrolling of all content in header.
I had the same problem.
<ScrollViewer>
<StackPanel>
<toolkit:FlipView/>
<phone:LongListSelector />
</StackPanel>
</ScrollViewer>