locked
IScrollInfo missing in Metro app RRS feed

  • Question

  • Is IScrollInfo missing available in Metro app?

    IScrollInfo was available when i was using Windows 8 CurtomerPreview, but not avail Release Preview.

    Please help.


    - Jegan

    Monday, July 9, 2012 11:51 AM

All replies

  • Yes, it was removed,  You should be able to find most of what you want in the following interfaces:
    IScrollContentPresenter, IOrientedVirtualizaingPanel & ICarouselPanel


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

    Monday, July 9, 2012 2:23 PM
    Moderator
  • i cannot find these interfaces. Let me know the namespace and assembly. so that i could find it in object browser.

    - Jegan


    • Edited by Jegan Ravi Monday, July 9, 2012 3:47 PM
    Monday, July 9, 2012 3:47 PM
  • I'm asking about this.

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

    Monday, July 9, 2012 8:38 PM
    Moderator
  • There are no interfaces called "IScrollContentPresenterIOrientedVirtualizaingPanel & ICarouselPanel"

    but i can see ScrollContentPresenter.

    There is going to be a major change in our source because of this :(

    We have a panel that inheriting a custom panel and IScrollInfo.

    Anyway thanks.


    - Jegan



    • Edited by Jegan Ravi Tuesday, July 10, 2012 6:21 AM
    Tuesday, July 10, 2012 6:20 AM
  • OMG ScrollContentPresenter is a sealed class, i cant event derive to override its Measure and Arrange.

    i cannot live without IScrollInfo, it is the only place where we can use ScrollViewer to define our content with our own Viewport and Extend size. 

    @Microsoft: Without IScrollInfo, we dont have any other option, other that implementing a new ScrollViewer. 

    :(


    - Jegan

    Tuesday, July 10, 2012 7:12 AM
  • Yeah, I see that.  I am talking to people about this.

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

    Tuesday, July 10, 2012 1:50 PM
    Moderator
  • Jegan - I spoke with our senior devs about this - they are recommending that you use ListView or GridView to present your data.  The classes in question will not be changed from their present implementation. 

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

    Tuesday, July 10, 2012 6:07 PM
    Moderator
  • Our project is a kind of design surface implementation (Like Canvas), none of the inbuilt panel suits our needs.

    We have created a custom panel that supports objects placed in negative/positive axis and viewed using scroll viewer. IScrollInfo is a best place to keep updating our Extend, Viewport size, override measure and arrange.

    Any other better ideas?


    - Jegan


    • Edited by Jegan Ravi Wednesday, July 11, 2012 5:16 AM
    Wednesday, July 11, 2012 5:14 AM