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
In your App.xaml
, try setting the ContentDialogMaxWidth
to say, 800
. The default is 548
. You might want to increase the height too.
<Application.Resources>
<x:Double x:Key="ContentDialogMaxWidth">800</x:Double>
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double>
</Application.Resources>
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 !
just add this code after the initialize component
this.width = Window.Current.Bounds.Width;
and the content dialog will get your screen width