共用方式為


HwndSource.IKeyboardInputSink.HasFocusWithin 方法

定義

如需這個成員的說明,請參閱 IList.Remove(Object)

 virtual bool System.Windows.Interop.IKeyboardInputSink.HasFocusWithin() = System::Windows::Interop::IKeyboardInputSink::HasFocusWithin;
bool IKeyboardInputSink.HasFocusWithin ();
abstract member System.Windows.Interop.IKeyboardInputSink.HasFocusWithin : unit -> bool
override this.System.Windows.Interop.IKeyboardInputSink.HasFocusWithin : unit -> bool
Function HasFocusWithin () As Boolean Implements IKeyboardInputSink.HasFocusWithin

傳回

Boolean

如果接收或其包含的其中一個元件有焦點則為 true,否則為 false

實作

備註

這個成員是明確介面成員實作, 只有在 HwndSource 執行個體轉換成 IKeyboardInputSink 介面時,才能使用這個成員。

適用於