cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
morgs
Regular Visitor

Track the position of a gallery scroll bar

Hi All!

 

I have a vertical gallery that has a scroll bar. I want to have a shadow image that I only want to be visible if there the scroll bar is not at the bottom. So once the user has scrolled to the end of the gallery the shadow image will be set to Visible = false.

 

morgs_0-1624243822721.png

 

To do so, I am wondering if there is a way I can track the position of the scroll window or scroll bar Y position.

 

If( user has scrolled to the bottom of the gallery , ShadowImage.Visible = false).

 

Using Gallery.VisibleIndex is not suitable for the scenario unfortunately.

 

Any help appreciated! 

 

1 REPLY 1
ganeshsanap
Super User
Super User

@morgs I don't think you can track the position of scroll bar in a gallery control.

 

I didn't find anything related to position of scroll bar in official documentation: Gallery control in canvas apps 


Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

 

Best Regards,

Ganesh Sanap

Blog site 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (930)