Reputation: 249
I am currently working on a windows form application (C# visual studio).
Upvotes: 0
Views: 3372
Reputation: 335
easiest way:use XAML pop-up as described below
<Popup x:Name="pop" IsOpen="False" >
</Popup>
For more details visit below link. http://www.c-sharpcorner.com/UploadFile/mahesh/using-xaml-popup-in-wpf/
After this to blur the main grid on eventhandler for the event which shows the pop-up,set the opacity as shown in below C# code
if (pop.IsOpen == false)
{
pop.IsOpen = true;
grdMain.Opacity = 0.4;
}
else
{
pop.isopen=false;
}
Upvotes: 0
Reputation: 2216
Answers to your question:
Upvotes: 3