title: Silverlight ScrollViewer, Find if vertical Scrolling is enable
body: <p>I have a Scroll viewer</p>
  
  <pre><code>&lt;ScrollViewer x:Name="sViewer" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"/&gt;
  </code></pre>
  
  <p>Now after load, how can I find if the scroll Viewer is scroll-able vertically. i.e. is the Vertical Scrollbars are visible or Collapsed. </p>
  
  <p>I tried to read Visibility property,</p>
  
  <pre><code>ScrollBar verticalScrollBar = ((FrameworkElement)VisualTreeHelper.GetChild(sViewer, 0)).FindName("VerticalScrollBar") as ScrollBar;
  </code></pre>
  
  <p>but every time i get Visibility as Collapsed, even when the Scrolling is available.</p>
  
  <p>Will appreciate your help.</p>