I have just discovered the FrameworkElement.BringIntoView
method, which is very useful.
However, I would also like the ability to detect whether an element actually is in view or not. In other words, a function to tell me whether BringIntoView, if I called it, would have to do any scrolling or is the element in question already within the viewable area.
Thanks.
Check this http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.aspx
I think the
IsFocused
property might be helpful.