I reuse a xamDialogWindow for multiple modal dialogs. I start by adding the control as a child of my TabItem. I then programmatically change the visibility property using databinding to a viewmodel. Because I display different content within the XamDialogWindow, and it does not support SizeToContent, I am trying to programmatically change the height and width.
It seems though that the control ignores any attempt to set its height and width after the original layout.I have tried setting the Height and Width in the IsVisibleChanged event, but it has no effect, even if I invalidate the layout.
How can I change the height and width of a XamDialogWindow after it has first been displayed?
HI,
I was not able to reproduce your issue.
I created an application where i dynamically added a XamDialogWindow to Tab and I was able to resize the Width and Height.
Please review my sample and feel free to modify it so that it replicates your issue. Then repost it to this thread.
Sincerely, MattDeveloper Support Engineer
I am following up on this forum post.
Do you need further assistance regarding this issue. Sincerely, Matt Developer Support Engineer