Hi,
Any help to change the display mode of a gallery with a button. I have Gallery4 (which is currently in display mode: view) and have added a pen outside the gallery with the following code but It has not worked:
If(Gallery4.DisplayMode=View,UpdateContext({dmv: DisplayMode.Edit}),UpdateContext({dmv: DisplayMode.View}))
Thank you