ContentDialog max width

前端 未结 3 1006
既然无缘
既然无缘 2021-01-21 05:15

I\'m trying to create a settings menu in my app like this

I know how to do it but I have a problem with the width on content dialog, apparently there is a limi

3条回答
  •  独厮守ぢ
    2021-01-21 05:40

    just add this code after the initialize component

    this.width = Window.Current.Bounds.Width;
    

    and the content dialog will get your screen width

提交回复
热议问题