SL控制和只读 [英] SL control and readonlyness
问题描述
我为LS创建一个SL媒体播放器.工作正常.只是原始的SL控件,没有LS扩展.
I create a sl media play for LS. Works fine. Just a raw SL control, no LS extention.
但是,如果将屏幕控件设置为只读,则控件上的所有内容都变为!Enabled.像播放按钮也被禁用,这不是我想要的.那么如何允许SL控件设置为只读状态,而不是禁用sl控件中包含的所有控件?
But if you set the screen controls to readonly, everything on the control goes !Enabled. Like the play button is also disabled which is not what I want. So how to allow SL controls to be set readonly, but not disable all the controls contained in sl control?
推荐答案
认为这是可能的,而不必为您希望在SL上只读的每个控件提供新的属性.当您说您为ls创建了一个SL媒体播放器时,您实际上是使用SL媒体创建了一个新的SL用户控件吗? 播放器以在LS中使用,还是您在sl媒体播放器的LS中添加了自定义控件?
I don't think that this will be possible without breaking out new properties for each of the controls you want to be read only on the SL. When you say you created a sl media player for ls did you actually create a new sl usercontrol with a sl media player in it to use in LS or did you add a custom control in LS of the sl media player?
这篇关于SL控制和只读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!