How to show a full screen Modal ContentDialog in Windows Phone 8.1

后端 未结 3 962
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-15 09:30

When a user is trying to login to my app, I am displaying a ContentDialog containing a few TextBlocks and a ProgressBar.

I choose ContentDialog because it is modal a

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 10:16

    In Windows Phone 8.1, ContentDialog has FullSizeDesired boolean property which, when set to true, will open the dialog in full size mode. (MSDN link).You'd need to set Background to a transparent color value if desired.

提交回复
热议问题