Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. how to get the scroll vertical and scroll horizantal for a page created in WPF

how to get the scroll vertical and scroll horizantal for a page created in WPF

Scheduled Pinned Locked Moved WPF
wpfcsharpcomdesignhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krishna Aditya
    wrote on last edited by
    #1

    Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application"       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm

    K realJSOPR 2 Replies Last reply
    0
    • K Krishna Aditya

      Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application"       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2
      1. I don't see in the XAML you posted where you're telling the window to scroll. 1) Scrollbars are typically set to "Auto" so they only appear when scrolling is needed. 2) Learn how to post code here. It's ALMOST IMPOSSIBLE to read code when it's posted with a proportional font.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      K 1 Reply Last reply
      0
      • K Krishna Aditya

        Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application"       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm

        K Offline
        K Offline
        Krishna Aditya
        wrote on last edited by
        #3

        Guys, I am able to scroll it now using <ScrollViewer></ScrollViewer>.. I removed the Height="800" Width="1400" from the xaml code.. its fine now. Thank you, Ramm

        1 Reply Last reply
        0
        • realJSOPR realJSOP
          1. I don't see in the XAML you posted where you're telling the window to scroll. 1) Scrollbars are typically set to "Auto" so they only appear when scrolling is needed. 2) Learn how to post code here. It's ALMOST IMPOSSIBLE to read code when it's posted with a proportional font.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          K Offline
          K Offline
          Krishna Aditya
          wrote on last edited by
          #4

          Hi John, In the 3rd line of my post, i have entered the xaml code.. just the first few lines.. Thank You, Ramm

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups