Since the RadExpanderControl opens with animation, simply catching the ExpandedStateChanged event would not be helpful enough. You may need to handle the LayoutUpdated event of the scrollviewer and constantly call the ScrollToVerticalOffset
method by passing the maximum possible offset (depicted by the ScrollableHeight
property of the ScrollViewer). This would pose further difficulties since the LayoutUpdated
event is fired constantly when you're scrolling so you need to know when this event is fired because of scrolling operation, and when because of an expander being expanded. You can do this by observing the changes in the Visual States of the scrollviewer. There is an article on MSDN that describes how to do this:
This is what comes to my mind right now.
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal
to submit ideas, feedback and vote for them.