Reputation: 12755
I have a WPF XAML file with the layout definition. It's based on a dock-panel.
I want to display an interestingly looking alert/info message, i.e. a frame on a semi-transparent background covering the original window contents. See this jQuery UI example. I'd like to cover the back and display smt in the front (not necessarily a moving window - a static rectangle with text will be enough.
Is it possible to procedurally create such an effect in WPF?
Upvotes: 2
Views: 316
Reputation: 2323
Try the "ChildWindow" control in the Extended WPF Toolkit: http://wpftoolkit.codeplex.com/wikipage?title=ChildWindow
This acts just like the ChildWindow control in Silverlight. It allows a modal pop and adds a mask to the background.
Upvotes: 2