This is a migrated thread and some comments may be shown as answers.

preventdefaultgestures

1 Answer 51 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 12 Apr 2018, 12:55 PM

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

1 Answer, 1 is accepted

Sort by
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 12 Apr 2018, 01:12 PM

already found it:

 

 rigi = New ImageGalleryItem
rigi.PreventDefaultGestures = True

 

I hope this helps somebody else.

 

Marc

Tags
ImageGallery
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or