Link to home
Start Free TrialLog in
Avatar of at999
at999

asked on

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
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

There should be a Visible or IsVisible property.
Avatar of at999
at999

ASKER

no.. there is no   Visible or IsVisible property.

pl help
thanks
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of at999

ASKER

thanks a lot first link helped me