Popup remaining sticky in WPF

S

sundarvenkata

Hi All,

I have a little problem in a XAML application. When I use a popup in a
WPF application, I am not able to get rid of the popup from the view
even if I do Alt-Tab to move focus to other applications.

Is this a bug or am I missing something?

Thanks,
Sundar
 
N

Nicholas Paldino [.NET/C# MVP]

Sundar,

Well, with the popup, you have to explicitly set the IsOpen property to
false to indicate that the popup should not be shown anymore. It's not
going to make an assumption for you about when to do this.

Is there a reason you are not using the ToolTip for this?
 
S

sundarvenkata

No the popup is behaving like a Sticky Window. It stays on top among
all other windows. I wonder why this happens. I *actually do have* a
close button in the popup window. But I want the popup to stick around
when I am switching applications but *not stay on top* of all the
windows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top