I have a content pane with a xamdatagrid as content. One of the columns in the grid is a button that opens a popup that allows a user to edit some information that is not displayed in the grid. When the user clicks in a textbox in the popup, the unpinnedcontentpane flys in. How do I prevent this? I tried wiring to executingcommand to cancel the flying, but this does not always fire. Thanks!
Thanks, Matt. I could do that, but I don't want to, for 2 reasons.
1. When you pin and unpin a tab, its position in the tabcollection changes. I want the tabs to keep their initial position - or is there a way to do that? It is confusing to a user to have the tabs change positions.
2. It appears like a kludge to do that, and doesn't look professional.
Does your answer imply that there is no way to intercept a flyin and cancel it?
Thanks for your help...
Hi,
You could set the ContentPane's IsPinned property to true
Here is a help link to Pin and Unpin a Pane.
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDockManager_Pin_and_Unpin_a_Pane.html
Sincerely, Matt Developer Support Engineer