Hello,
Welcome to Microsoft Q&A!
The default maximum width of ContentDialog
is 548. If you want to modify the width of ContentDialog
.You could override the theme resource which named ContentDialogMaxWidth
to a bigger value.
For example:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<!-- Other merged dictionaries here -->
</ResourceDictionary.MergedDictionaries>
<!-- Other app resources here -->
<x:Double x:Key="ContentDialogMaxWidth">800</x:Double>
</ResourceDictionary>
</Application.Resources>
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.