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

适用于