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
595
Auto Resize
posted

Is there a way to auto size the window to fit the content inside it?  I'm using one xamWebDialogWindow for all of my popup windows and the content will change depending on which control is calling it.  I would like the popup window to auto size to so that when it has only text box in the window it auto size so to fit that and when there are 30 controls on there it will know how to auto size to that as well.

Parents
No Data
Reply
  • 640
    Verified Answer
    posted

    Hi MrYang,

    There are two cases for XamWebDialogWindow content. The first situation is when you set XamWebDialogWindow content when create the window then DialogWindow sizes auto to the size of the content. The second situation is if XamWebDialogWindow is created and you want to change the content dynamicly then the window size doesn't fit auto to the size of the content. In this case you have to set XamWebDialogWindow Width and Height properties.

     

    Dimitrina Siderova

Children
No Data