[fixed] ListView missing LastItem (1 Viewer)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Funny bug this time :)

    I have a ListView with with ItemSource bound to Generic List of my custom objects. They display fine, but the last item is always missing. This is not easy to spot as you have to know the number of items from debugging, but if there is only one item in the list, nothing will be displayed.

    Hope this is an easy one to fix. something like an Off by One error, hehe.:D
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #3
    Fixed yesterday doing a quick debugging session together :) Thx!

    (It was the WrapPanel with an off by one error for the last item)
     

    Users who are viewing this thread

    Top Bottom