preventdefaultgestures

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    442 posts
    Member since:
    Feb 2007

    Posted 12 Apr 2018 Link to this post

    Hi,

    On an iPhone we cannot scroll down/up by swiping on the main image.

    Is this preventable with setting PreventDefaultGestures?

    If Yes, how can I set that from codebehind?

     

    BR, Marc

  2. Fit2Page
    Fit2Page avatar
    442 posts
    Member since:
    Feb 2007

    Posted 12 Apr 2018 in reply to Fit2Page Link to this post

    already found it:

     

     rigi = New ImageGalleryItem
    rigi.PreventDefaultGestures = True

     

    I hope this helps somebody else.

     

    Marc

Back to Top