Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个显示很多信息的列表视图,但是当它为空时,我想在它上面覆盖一个文本块,上面写着“没有要显示的信息”或“做 bla-bla-bla 来添加信息”。
列表视图设置为响应鼠标单击,但现在如果我单击文本块,这些事件将被路由到文本块。我怎样才能让这些事件转到列表视图呢?
IsHitTestVisible= "false"在文本块上。
IsHitTestVisible
= "false"