HwndHost.IKeyboardInputSink.HasFocusWithin 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如需這個成員的說明,請參閱 HasFocusWithin()。
virtual bool System.Windows.Interop.IKeyboardInputSink.HasFocusWithin() = System::Windows::Interop::IKeyboardInputSink::HasFocusWithin;
[System.Security.SecurityCritical]
bool IKeyboardInputSink.HasFocusWithin ();
bool IKeyboardInputSink.HasFocusWithin ();
[<System.Security.SecurityCritical>]
abstract member System.Windows.Interop.IKeyboardInputSink.HasFocusWithin : unit -> bool
override this.System.Windows.Interop.IKeyboardInputSink.HasFocusWithin : unit -> bool
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
傳回
如果接收或其包含的其中一個元件有焦點則為 true
,否則為 false
。
實作
- 屬性
備註
這個成員是明確介面成員實作, 只有在 HwndHost 執行個體轉換成 IKeyboardInputSink 介面時,才能使用這個成員。