开发者

'Mouse capture' on a scrollbar and popup window in Silverlight 4

I've hit a problem with my OOB silvelight 4 applicatrion. There is a DataGrid on the page with numer of rows, so that vertical scroll bar appears for the DataGrid.

At times I need to show a child window with a message and OK button.

If before showing the child window I a开发者_运维问答m using the scroll bar, that remains selected after popup is closed. If I move mouse over scroll bar data grid scrolls.

I have tried UpdateLayout, chage visibility, rebind ItemSource. Nothing helps.

Thank you in advance for any idea.


Use the UIElement.ReleaseMouseCapture() method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜