title: How to make Richtextblock scrollable?
body: <pre><code>&lt;StackPanel Orientation="Vertical"&gt;  
  &lt;Border Background="AliceBlue"&gt;
      &lt;ScrollViewer x:Name="scroll"                              
                    Height="300"
                    AllowDrop="True"
                    HorizontalScrollBarVisibility="Visible"
                    VerticalScrollBarVisibility="Visible"
                    VerticalScrollMode="Auto"&gt;
  
          &lt;RichTextBlock x:Name="richTextBlock"
                         Width="800"
                         Height="400"
                         Margin="50 50 0 0"
                         Foreground="Green"&gt;
              &lt;Paragraph x:Name="rchparaGraph"&gt;
                  &lt;Run /&gt;
              &lt;/Paragraph&gt;
          &lt;/RichTextBlock&gt;
      &lt;/ScrollViewer&gt;
  &lt;/Border&gt;
  </code></pre>
  
  <p>this is how i have align the control. i have used scroll viewer for making rich text block 
  scrollable to its content. Its not working. somebody help me.</p>