Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
Can we bind the visibility property of ContentPane in Xamdockmanager?
posted

Hi,

I am looking for an event or property which can be used when the contentpane is visible after hovering a mouse on it, so that we can make a call to the database only when the ContentPane is visible. I tried binding "Visibility" property, but it didn't work. Which property of event should I use here?

 

Thanks!

Parents
No Data
Reply
  • 54937
    Offline posted

    UIElement.Visibility just indicates whether an element may be viewable (and even then it doesn't consider the Visibility of the ancestors) but that doesn't indicate whether the element is in view or not. It sounds like you might want to check out the UIElement.IsVisible property or UIElement.VisibilityChanged event.

Children
No Data