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. WCF and WF
  4. ScrollBar Enable?

ScrollBar Enable?

Scheduled Pinned Locked Moved WCF and WF
question
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.
  • A Offline
    A Offline
    Aslesh
    wrote on last edited by
    #1

    Hi I have a button and textblock in my window. when ever i clicks on button Some information is going to be added in the textblock. but i am not able to scroll and see the content in the textblock. how can i enable scroll bar.. Santhapur.

    M 1 Reply Last reply
    0
    • A Aslesh

      Hi I have a button and textblock in my window. when ever i clicks on button Some information is going to be added in the textblock. but i am not able to scroll and see the content in the textblock. how can i enable scroll bar.. Santhapur.

      M Offline
      M Offline
      MIHAI_MTZ
      wrote on last edited by
      #2

      Not exactly what you want, but you can achieve the same effect by placing the textblock in a scrollviewer and letting it strecth as much as it needs to. Mihai,

      A 1 Reply Last reply
      0
      • M MIHAI_MTZ

        Not exactly what you want, but you can achieve the same effect by placing the textblock in a scrollviewer and letting it strecth as much as it needs to. Mihai,

        A Offline
        A Offline
        Aslesh
        wrote on last edited by
        #3

        Even i tried the same thing before ... but i coudn't get the scroll bar enabled... is there any working code snippet, if you have that will help me a lot ... Santhapur

        M 1 Reply Last reply
        0
        • A Aslesh

          Even i tried the same thing before ... but i coudn't get the scroll bar enabled... is there any working code snippet, if you have that will help me a lot ... Santhapur

          M Offline
          M Offline
          MIHAI_MTZ
          wrote on last edited by
          #4
          <ScrollViewer VerticalScrollBarVisibility="Auto">
              <TextBlock Text="" Width="Auto" Height="Auto" TextAlignment="Left" TextWrapping="Wrap"/>
          </ScrollViewer>
          
          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