WPF MaterialDesignInXamlToolkit Dialog expand to full width
问题 I'm trying to get the dialog in DialogHost to be horizontally stretched as much as possible, without hardcoding the size of the control that I'm displaying. Tried the following: setting the UserControl.HorizontalAligment to Stretch setting HorizontalContentAligment to Stretch on DialogHost I noticed that if set the Width to something like 6000, the dialog fills the DialogHost with some nice padding, but the content overflows and things on the right side are not visible. Is there some standard