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 Dimitar,
Thank you for your post. I have been looking through it but I wasn’t able to reproduce your behavior, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can look into it investigate it further for you.
Looking forward for your reply.
Hi,
Here I attach you a demo project and a screen capture video to see my testing.
http://www.saykor.com/ScreenCapture_11-9-2011 8.32.55 PM.rar
You will see that when a scroll bar is show i cannot scroll to bottom of the records, I cannot see the initial data.