popup window?

Hi. I am Marko.

How do I make popup window just like the options window You made on this sample page (I repeat OPTIONS WINDOW):




<optPanel:OptionsPanel HeaderText="{Binding Source={StaticResource Strings}, Path=XDW_Options}">
<StackPanel Orientation="Vertical" Margin="5">
  <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_Plain}"  Height="22" Margin="0,0,0,10"></Button>
  <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_Container}"  Height="22" Margin="0,0,0,10"></Button>
  <Button Content="{Binding Source={StaticResource Strings}, Path=XDW_ShowDialog_MessageBox}"  Height="22"></Button>

 The thing is I want to make exact same thing and that includes: shadows around the edges, movable ,semi transparent when moving, expandable on that + - button. Only difference I would make it pop up on some button click and it would have fade-in appearing effect. I like it very much but I don't have the code for that custom control. Can You please paste all the required code and instructions here how to do this. It would be very cool. Thank You.

Parents Reply Children