locked
FlipView incorrect layout after measure RRS feed

  • Question

  • Hi,

    I've encountered with a strange behavior in FlipView.

    If we do Measure() two times with different width: first, for example, with FlipView.DesiredSize.Width + 300, and second with original FlipView.DesiredSize.Width. After that layout of pages will be incorrect, until we do one of the following actions:

    1) programmatically change FlipView.SelectedIndex by a value, more than 1 (in that case animation is skipped)

    2) Change selectedIndex, using arrow buttons or mouse, by value, more than 5

    Is it a bug or by design?

     

    Here sample project. Win 8.1 Ent, VS2013

    Steps to reproduce:

    1) Launch Project and click "Force measure"



    Tuesday, January 14, 2014 9:57 AM

All replies

  • I'm looking into this.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, January 14, 2014 8:05 PM
    Moderator
  • I'm looking into this.

    What's the progress?

    Wednesday, January 29, 2014 11:07 AM