I am using a scroll viewer in my xaml page. When i display lot of entries in this viewer it starts showing a scroll bar which is fine and desirable. But while exporting that page in jpeg format i need to show all entries in one image. Hence i am planning to increase its size just enough to make scroll bar disappear.
Chalange i am facing with this is that i can not calculate exactly how much do i need to increase its height so that it can accomodate all entries without showing scroll bar.
Thanks in advance.
— Lalit
Have you tried if ViewportHeight / ViewportWidth or ScrollableHeight / ScrollableWidth suits your needs?
I would however suggest the following:
scrollbars.
allows.