CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    9

    How to set scrolling property for canvas in WPF

    Hi,

    I am working on a WPF application. In this I have to set scrolling property for canvas.

    If any one have any idea how to do this please reply me.



    Thanks in advance.

  2. #2
    Join Date
    Jan 2009
    Posts
    36

    Re: How to set scrolling property for canvas in WPF

    To scroll a Canvas, stick it in a ScrollViewer:

    Code:
    <ScrollViewer>
       <Canvas />
    </ScrollViewer>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured