find out if<scrollviewer> is being displayed  silverlight

Posted on 2012-09-12
Last Modified: 2012-09-13
I have a silverlight child window

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

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
Question by:at999
    LVL 39

    Expert Comment

    by:Kyle Abrahams
    There should be a Visible or IsVisible property.

    Author Comment

    no.. there is no   Visible or IsVisible property.

    pl help
    LVL 39

    Accepted Solution


    Author Comment

    thanks a lot first link helped me

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
    For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now