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"TextBlock で。
IsHitTestVisible
= "false"