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

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

Related

Devexpress Form With Header Panel (Title) and Menu Below Panel

Can someone give me insight how can I achieve the form with panel title first and then menu bar below panel (barmanager). Because devexpress always put barmanager on top
Thank you
EDIT :
After I add standalonebardock, the result as picture shown below: the red bar is standalonebardock
UPDATE :
After I drag the barmanager menu into standalonedock, now it is already inside the dock. But the menu still on top docking, what I need how to make space above menu so I can write title/image/etc
The StandaloneBarDockControl control allows bars to be displayed at any position within the form, not simply docked to the form’s edge. To do this, create a StandaloneBarDockControl object and add bars to it. Bars can be added to the control at design time or runtime.

VB.NET FlowControlPanel scrolling automatically when it shouldn't

Very strange issue in VB.NET. I have a simple WinForm that has a FlowControlPanel that takes up the entire form except for a status bar at the bottom. If I add enough items to my panel so that a vertical scrollbar is needed, then scroll to the bottom, anytime I update my status bar the panel automatically scrolls back to the top. Anyone ever see this?
Thanks,
Mark

Making a DataGridView Horizontal Scroll Event Scroll Another Control

I have a DataGridView with a panel above it, that contains a group of textboxes above each column. My DataGridView has a horizontal scroll bar. What I want to do is when the DataGridView scrolls horizontally, scroll the panel with textboxes above it, so they stay aligned.
I tried handling the DataGridView's scroll event, but I'm not sure what to do with it. Does anyone have any examples with this?
Sorry - I thought this was an ASP.NET quesiton = ignore my answer.

scrollbar and datagrid problem

In my datagrid I have in the rowdetailsTemplate a stackpanel that has in it anther datagrid.
when I open a row that has in it a datagrid with about 20 rows and I try scrolling with the scrollbar (of the main grid) using the bottom arrow it wouldn't scroll down.
For have scroll panel you need <ScrollViewer> component as show in this post :Scrolling In Silverlight Panels
It's possible add this component inside your grid.

scrolling datagridview without get focus

Is there a way to use wheel mouse and scroll vertical bar without actually get focus on datagridview in vb.net?
andrew
You can use the scroll event to the form where the grid is found and scroll the grid by using the following article:
Controlling scrolling with the API