提取当前媒体的名称 [英] Extract the Name of current Media

查看:73
本文介绍了提取当前媒体的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序(wpf)中有3个MediaElement.
如何提取当前正在播放的媒体的名称?
[中介元素的名称或源的名称]

I have 3 MediaElement in my application (wpf).
How can I extract the name of current media (which is playing now )?
[name of mediaelement or name of the source]

推荐答案

来自正在播放它的元素上正在播放它的控件.检查播放状态以解决该问题.如果只玩一次,为什么还需要三个?
From the control that is playing it on the element that is playing it. Check the play status to work that out. If only one plays, why do you need three ?


这篇关于提取当前媒体的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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