arachide
arachide

Reputation: 8066

adjust UWP ContentDialog width/height

Is it possible to adjust UWP ContentDialog width/height? I tried to adjust ContentDialog.Width, but nothing changed

enter image description here

Your comment welcome

Upvotes: 0

Views: 146

Answers (1)

Nico Zhu
Nico Zhu

Reputation: 32775

Is it possible to adjust UWP ContentDialog width/height?

ContentDialog will adjust size base on it's content, if you give the content specific height and width, ContentDialog size will be changed.

<ContentDialog>
    <Grid Height="600" Width="400">
        
    </Grid>
</ContentDialog>

Upvotes: 0

Related Questions