【问题标题】:adjust UWP ContentDialog width/height调整 UWP ContentDialog 宽度/高度
【发布时间】:2020-09-24 20:27:13
【问题描述】:

是否可以调整 UWP ContentDialog 的宽度/高度? 我尝试调整 ContentDialog.Width,但没有任何改变

欢迎评论

【问题讨论】:

    标签: uwp


    【解决方案1】:

    是否可以调整 UWP ContentDialog 的宽度/高度?

    ContentDialog 会根据内容调整大小,如果你给内容指定了特定的高度和宽度,ContentDialog 的大小将会改变。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-24
      • 2019-01-27
      相关资源
      最近更新 更多