Scrolling in canvas like paint brush RRS feed

  • Question

  •   I just want to get the working like MS Paint(paint brush), in which we just increase the size of working area, the scrollviewer increases its scrollable area. and when the size of working is less than the viewable(scrollviewer) size then the scroll bar(vertical/horizontal) disappears.

    try it by using Run-->pbrush command 

    anybody help me out


    Tuesday, July 15, 2008 4:46 AM


  • Set a canvas which allow people to use ink on it to be the content of the ScrollViewer

    You should also include the two textbox which allows people to set the size of the canvas there

    Then set the Visibility of the ScrollBar of the ScrollViewer to be auto

    Tuesday, July 15, 2008 8:32 AM