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.
TextBox の inputscope が検索に設定され、矢印が押されたときに生成されるイベントを取得するにはどうすればよいでしょうか?
1.どのキーが押されたかを確認できるイベントOnKeyDownがあります
textBox.OnKeyDown += (s, e) => { if (e.Key == Key.Enter) { // perform search e.Handler = true; } }
2.ScrollViewerは、フォーカスされたテキストボックスに自動的にスクロールします...