简体   繁体   English

C#Windows Phone应用全屏控件

[英]C# Windows Phone app full screen controls

I am developing WP 10 application which includes playing videos in full screen mode. 我正在开发WP 10应用程序,其中包括以全屏模式播放视频。 When I switch to full screen mode I want to have control buttons (play, stop...) visible on touch (at the moment they are hidden behind the full screen video). 当我切换到全屏模式时,我希望触摸时可以看到控制按钮(播放,停止...)(目前它们隐藏在全屏视频的后面)。 I'd appreciate if someone could give me some directions how to do it. 如果有人能给我一些指导,我将不胜感激。

Here is an example of WP 10 official video application control bar. 这是WP 10官方视频应用程序控制栏的示例。 It appears if you tap screen and disappears after a second or two. 如果您点击屏幕,它会出现,在一两秒钟后消失。

[WP10 official video app image][1] [WP10官方视频应用图片] [1]

EDIT: Seems like new SDK has built in control bar and it's really simple to use. 编辑:好像新的SDK内置在控制栏中,它真的很容易使用。 Just add Media element attribute 只需添加Media元素属性

AreTransportControlsEnabled="True"

Seems like new SDK has built in control bar and it's really simple to use. 好像新的SDK已内置控制栏,使用起来真的很简单。 Just add Media element attribute 只需添加Media元素属性

AreTransportControlsEnabled="True"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM