[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 544
  • Last Modified:

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
0
at999
Asked:
at999
  • 2
  • 2
1 Solution
 
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
 
Kyle AbrahamsSenior .Net DeveloperCommented:
0
 
at999Author Commented:
thanks a lot first link helped me
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now