You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When FlipView.ItemTemplate contains a custom view class which is derived from a FrameworkElement, the FlipView only displays the first 4 items and loops through them.
Sometimes even the same image appears twice in a row when scrolling back.
Copy and paste the example image files in images folder to C:\%USERPROFILE%\AppData\Local\Packages\ce327634-4e8f-4be9-ada0-51371298762e_90dh4avacgaqr\LocalCache\Local.
Rerun the app and only the first 4 images will display in a loop.
Expected behavior
FlipView should show all the images as I flip through the pages.
I think this might need an issue with how the property ImageInfo is defined in your UserControl ImageCollectionPanel. Can you try implementing it as a DependencyProperty and use BindingMode.OneWay inside ImageCollectionPanel.xaml and see if it still repros?
I think this might need an issue with how the property ImageInfo is defined in your UserControl ImageCollectionPanel. Can you try implementing it as a DependencyProperty and use BindingMode.OneWay inside ImageCollectionPanel.xaml and see if it still repros?
Describe the bug
When
FlipView.ItemTemplate
contains a custom view class which is derived from aFrameworkElement
, theFlipView
only displays the first 4 items and loops through them.Sometimes even the same image appears twice in a row when scrolling back.
Specifically:
ImageCollectionPanel.xaml
This works fine:
But this does not:
Steps to reproduce the bug
images
folder toC:\%USERPROFILE%\AppData\Local\Packages\ce327634-4e8f-4be9-ada0-51371298762e_90dh4avacgaqr\LocalCache\Local
.Expected behavior
FlipView
should show all the images as I flip through the pages.Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 10 (20H2): Build 19042
Additional context
it probably won't matter but:
My
.csproj
containsThe text was updated successfully, but these errors were encountered: