WPF attach popup with a control
Posted
by viky
on Stack Overflow
See other posts from Stack Overflow
or by viky
Published on 2009-11-12T17:32:18Z
Indexed on
2010/04/04
6:33 UTC
Read the original article
Hit count: 265
I have a scenario where I am displaying a popup on my control. I am able to do this using PlacementTarget
, Position
, etc.
My problem is when I resize the window and move it to somewhere else in the desktop, the popup remains stationary meaning it doesn't move with the control set as PlacementTarget
. I was able to hide it in case of other window getting focus. But not able to attach it with my control.
How can I solve this problem? Is there any other such control available?
© Stack Overflow or respective owner