Hello, Welcome to Micorosoft Q&A,
Showing popup at bottom of the scrollable area
You could use TransformToVisual
method to get popup's position relative to the scrollviewer, then call ChangeView
method after popup displayed.
private void Button_Click(object sender, RoutedEventArgs e)
{
popup.IsOpen = true;
var ttv = popup.TransformToVisual(MyScollViewer);
Point position = ttv.TransformPoint(new Point(0, 0));
MyScollViewer.ChangeView(0, position.Y ,1,true);
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.