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
  • 138253
    Offline posted

    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.

Reply Children