0

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.

4

1 回答 1

0

检查这个 http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.aspx

我认为该IsFocused物业可能会有所帮助。

于 2012-01-23T23:42:27.160 回答