Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
XamDialogWindow - How to resize and center after using few time?
posted

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

 

Parents Reply Children
No Data