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.
このコード:
this.MoveFocus(new TraversalRequest(FocusNavigationDirection.Last));
フォーカスを最後のコントロールに移動します。
しかし、最後のコントロールが何であるかを尋ねる方法はありますか? 実際にそこに移動せずに?
Control.GetNextControlメソッドを使用すると、子コントロールのタブ順序で次のコントロールを前後に移動できます。