开发者

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

开发者 https://www.devze.com 2023-02-26 02:23 出处:网络
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.

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

精彩评论

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

关注公众号