0

I implemented the canvas from the code project example Drag controls in canvas

Here user has the ability to move anywhere in the canvas, when control reaches top or bottom, i want to show the vertical scrollbar. How can I make this work?

PRK
  • 177
  • 1
  • 4
  • 15

1 Answers1

0
<ScrollViewer VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible">
        <Grid  Name="grid">      
        <Canvas Name="canvastoExport" >           
            <Polygon Points="200,100,300,100,300,200,200,200" Fill="Green"></Polygon>            
        </Canvas>      
    </Grid>
    </ScrollViewer>
ononeze
  • 1
  • 4