HwndHost.IKeyboardInputSink.HasFocusWithin HwndHost.IKeyboardInputSink.HasFocusWithin HwndHost.IKeyboardInputSink.HasFocusWithin Method

定義

如需這個成員的說明,請參閱 HasFocusWithin()For a description of this member, see HasFocusWithin().

 virtual bool System.Windows.Interop.IKeyboardInputSink.HasFocusWithin() = System::Windows::Interop::IKeyboardInputSink::HasFocusWithin;
[System.Security.SecurityCritical]
bool IKeyboardInputSink.HasFocusWithin ();
Function HasFocusWithin () As Boolean Implements IKeyboardInputSink.HasFocusWithin

傳回

如果接收或其包含的其中一個元件有焦點則為 true,否則為 falsetrue if the sink or one of its contained components has focus; otherwise, false.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 HwndHost 執行個體轉換成 IKeyboardInputSink 介面時,才能使用這個成員。It can be used only when the HwndHost instance is cast to an IKeyboardInputSink interface.

適用於