IKeyboardInputSink.TabInto(TraversalRequest) IKeyboardInputSink.TabInto(TraversalRequest) IKeyboardInputSink.TabInto(TraversalRequest) IKeyboardInputSink.TabInto(TraversalRequest) Method

定義

將焦點設定在接收的第一個定位停駐點 (Tab Stop) 或最後一個定位停駐點。Sets focus on either the first tab stop or the last tab stop of the sink.

public:
 bool TabInto(System::Windows::Input::TraversalRequest ^ request);
public bool TabInto (System.Windows.Input.TraversalRequest request);
abstract member TabInto : System.Windows.Input.TraversalRequest -> bool
Public Function TabInto (request As TraversalRequest) As Boolean

參數

request
TraversalRequest TraversalRequest TraversalRequest TraversalRequest

指定是否應將焦點設定為第一個或最後一個定位停駐點。Specifies whether focus should be set to the first or the last tab stop.

傳回

如果已依照要求設定焦點則為 true,如果沒有定位停駐點則為 falsetrue if the focus has been set as requested; false, if there are no tab stops.

備註

FirstLast是唯一應該TraversalRequest在中傳遞至這個方法的相關值。First and Last are the only relevant values that should be passed to this method in the TraversalRequest.

適用於