ContentDialog max width

前端 未结 3 982
既然无缘
既然无缘 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条回答
  •  -上瘾入骨i
    2021-01-21 05:34

    All that I Have to do is just add this code after the initialize component

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

    and the content dialog will get your screen width.. thanks everyone hope this will help anyone search for it !

提交回复
热议问题