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!
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.