容器覆盖默认样式
我有一个第三方控件,我在它的标题容器中添加了一个工具栏。工具栏和子项目正常显示,但选择样式(子项目的突出显示)不会触发。标头容器以某种方式覆盖了这一点。我能做些什么来防止这种情况发生吗?
I have a 3rd party control in which i have added a toolbar in it's header container. The toolbar and child items show normally but the selection styling (highlighting of the child items) doesn't trigger. Somehow the header container overrides this. Is there anything i could do to prevent this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须首先检查为什么会发生这种情况。假设某些内容被覆盖是第一步,但您必须准确找出它是什么。
我建议您尝试 Snoop - 它允许您查看应用程序的确切可视化树 - 如果您是正确的然后您将看到哪个属性被哪个控件覆盖。
You'd have to check why exactly this is happening first. Assuming that something is being overwritten is a first step, but you'd have to find out exactly what it is.
I suggest you try Snoop - It allows you to see what is the exact Visual Tree of your application - If you are correct then you will see which property is overridden by which control.