Hi All,
I would like to know if there is any way I can disable scrolling for gallery. Even though I set ShowScrollBar to false. I can scroll through mouse. I would like to totally disable the scrollbar.
Solved! Go to Solution.
Yes, you can disable the scrollbar (or make it not visible), but if the Gallery has more items in it than it can display in the Height of the Gallery, then it will scroll.
The best you could do would be to limit the number of items in the Gallery.
You could use the FirstN function on the Items and specify how many items you would display as a "maximum" before it would scroll.
Example, if 8 items is the point at which your gallery would scroll, then set the Items property to FirstN(yourItemDataSource, 8).
Then it will have no more items and will not scroll.
I hope that helps some.
Yes, you can disable the scrollbar (or make it not visible), but if the Gallery has more items in it than it can display in the Height of the Gallery, then it will scroll.
The best you could do would be to limit the number of items in the Gallery.
You could use the FirstN function on the Items and specify how many items you would display as a "maximum" before it would scroll.
Example, if 8 items is the point at which your gallery would scroll, then set the Items property to FirstN(yourItemDataSource, 8).
Then it will have no more items and will not scroll.
I hope that helps some.
Hi,
If you don't require the items in the gallery to be selectable, you could place a rectangle over-top of it and set it to transparent.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
207 | |
97 | |
60 | |
54 | |
51 |
User | Count |
---|---|
255 | |
158 | |
87 | |
79 | |
65 |