隐藏 MediaPlayer 控件(Microsoft 媒体平台播放器框架) [英] Hide MediaPlayer Controls ( Microsoft Media Platform Player Framework )

查看:29
本文介绍了隐藏 MediaPlayer 控件(Microsoft 媒体平台播放器框架)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 c#/xaml 应用程序中使用 MMP:PF 并且提供我自己的控制元素来处理播放器.

这就是为什么我想隐藏/禁用显示在底部的自己的本机控件.(在屏幕截图的中间,这个只是使用一个主题)

有人知道怎么做吗?我没有设法找到一个属性.

解决方案

来自 MediaPlayer 的参考,IsTimeLineVisibleIsPlayPauseVisibleIsPositionVisibleIsStopVisible 和许多其他可用的可见性属性.所以你可以将它们设置为false.看看 MediaPlayer 属性

I´m using the MMP:PF in a c#/xaml application and provide my own control elements to handle the player.

Thats why i would like to hide/disable its own native controls that appear on the bottom. ( And in the middle of the screen on screenshot, this one´s just using a theme )

Does anybody know how to do that? I didnt manage to find a property for that.

解决方案

From MediaPlayer's reference, IsTimeLineVisible, IsPlayPauseVisible, IsPositionVisible, IsStopVisible and many other visibility properties available. so you can set them to false. take a look at the MediaPlayer Properties

这篇关于隐藏 MediaPlayer 控件(Microsoft 媒体平台播放器框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆