find out if<scrollviewer> is being displayed silverlight

I have a silverlight child window

<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
   
</scrollviewer>

All the other components in that child window (like textboxes, grids etc) are inside a <scrollviewer> </scrollviewer>

The scroll viewer's HorizontalScrollBarVisibility is set to "Auto" and VerticalScrollBarVisibility is also set to "Auto"

Now before the child window is loaded, i have to find out if the scrollbars are actually showing up or not... how can i find that?


I tried - IsEnabled but that always returns true,
If i check property "HorizontalScrollBarVisibility " it always returns Auto.. as expected

how do i find out if the scrollbars are actually visible or not

pl help

thanks a lot
at999Asked:
Who is Participating?
 
Kyle AbrahamsSenior .Net DeveloperCommented:
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
There should be a Visible or IsVisible property.
0
 
at999Author Commented:
no.. there is no   Visible or IsVisible property.

pl help
thanks
0
 
at999Author Commented:
thanks a lot first link helped me
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.