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 接口时使用。