WPToolkit icon indicating copy to clipboard operation
WPToolkit copied to clipboard

FlipView - property to set if manipulation was handled or not

Open LiborZ opened this issue 10 years ago • 3 comments

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

LiborZ avatar Nov 11 '14 16:11 LiborZ

Could you provide a sample app that demonstrates your use case?

Kinnara avatar Nov 22 '14 04:11 Kinnara

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.

LiborZ avatar Dec 02 '14 17:12 LiborZ

I had the same problem.

<ScrollViewer>
    <StackPanel>
        <toolkit:FlipView/>
        <phone:LongListSelector />
    </StackPanel>
</ScrollViewer>

flying19880517 avatar Apr 07 '15 08:04 flying19880517