Hi
Here is my xaml:
<ig:XamDialogWindow Grid.RowSpan="2" x:Name="pnlPopupWindow" WindowState="Hidden" IsModal="True" StartupPosition="Center" Style="{DynamicResource XamDialogWindowStyle1}"> </ig:XamDialogWindow>
and .cs file:
ucWatchList _ucWatchList = new ucWatchList(); pnlWatchList.Content = _ucWatchList; pnlWatchList.Show();
1. My problem is that XamDialogWindow not automatic resize and not center after I clear and add new usercontrol in his content. How I can force XamDialogWindow to do this?
2. When userControl change his size for example if have a grid and I add new records I too want to force XamDialogWindow to resize and recenter on the main window or add a vertical scrol bar itself.
Best regards,
Saykor
Hello,
Could you please send me an isolated sample project, where the issue is reproduced, so I can investigate this further for you.
Looking forward for your reply.
Also when i am using "IsResizable" peroprty is "True", the problem get resolved. But still the dialog not maximize when window is miximize, i just want it to perform like, when window is maximize it should maximize when window is restore it should restore. and content within dialog shd fit, in its size.
Hi,
Thanks for the reply.
I am facing one issue using XamDialogWindow, My Dialogwindow is written in usercontrol and open after clicking the button.
When the window is in its maximum size , dialog window opens fine.
But when the window is "restored" or not in maximum size , the dialog window overlap it or invisible, i really dnt understand its behavior, it should resize as per the window size.
Please suggest on this.
Only the SL XamDialogWindow has RestrictInContainer Property, while the WPF one desn't. They are separate controls despite they have the same names.
i can not see RestrictInContainer property in my xamdialog window, i am using mvvm in wpf ...please suggest.The dialog window is not re sizing when window is minimized