user46607
user46607

Reputation: 69

How can I mimic this website effect of an expanding and shrinking popup in a WPF application?

Please follow the link http://msdn.microsoft.com/hi-in/default.aspx and see the top right corner of the page.

There you will find a "Microsoft.com" expander. When you move the mouse over it, it displays as a popup and grows. When you move your mouse off of it the window shrinks back. I want to mimic this effect in my WPF application using C#.

Upvotes: 1

Views: 409

Answers (2)

Kent Boogaart
Kent Boogaart

Reputation: 178760

Not sure why you're being modded down. You can use a Popup control and animate its size.

Upvotes: 2

Sorskoot
Sorskoot

Reputation: 10310

Take a look at this post at the msdn forum. It explains the use of the popup control a bit. Here's another nice example.

Upvotes: 1

Related Questions