Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Restrict Scroll for FlowDocumentScrollviewer

$
0
0

Hi,

i am using the following code

<Grid Width="700" Height="700">

    <ScrollViewe >

         <FlowDocumentPageViewer  Height="1000" Width="2000"/>

      </ScrollViewer>

</Grid>

i am having Huge data i am inserting into flowdocument..

finally i am getting 20 pages ..

i am getting HorizontalScroll and VerticalScroll

i am facing some problem with flowdocumentPageViewer Scroll

if i scroll through my mouse.. i mean mousewheel..

Expected is ScrollViewer should move..

but it is behaving different.. MouseWheel is taking FlowdocumentPageViewer scroll and my page gets Changed.. 

Can any one suggest me how to get the main scroller functionality

--

Sharathkumar11


sharathkumar11


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>