CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Location
    Indore(India)
    Posts
    29

    Horizontal/Vertical Scrollbar for Silverlight page

    Hi All
    I want the silverlight web page to have scrolling capability. At present when i build and test the solution, the web browser doesn't display the contents completely as the contents are extending beyond the web browser window. I am not able to scroll it either horizontally nor vertically to see the full page contents because silverlight is not showing any (auto)scrollbars.
    I have add ScrollViewer.HorizontalScrollBarVisibility="Visible" and ScrollViewer.VerticalScrollBarVisibility="Visible".

    How could this problem be overcome?
    NOTE: My silverlight canvas height is 1200 and width is 1500. Hence the web browser doesn't display the contents completely.

    Thanks

  2. #2
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Horizontal/Vertical Scrollbar for Silverlight page

    Put a ScrollViewer around your content.
    ===============================
    My Blog

  3. #3
    Join Date
    Nov 2009
    Location
    Indore(India)
    Posts
    29

    Re: Horizontal/Vertical Scrollbar for Silverlight page

    thanks for reply.

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