语言

HwndSource.HasFocusWithinCore 方法

定义

获取一个值,该值指示接收器或其包含组件之一是否具有焦点。

protected:
 virtual bool HasFocusWithinCore();
protected virtual bool HasFocusWithinCore();
abstract member HasFocusWithinCore : unit -> bool
override this.HasFocusWithinCore : unit -> bool
Protected Overridable Function HasFocusWithinCore () As Boolean

返回

true 如果接收器或其包含组件之一具有焦点,则为否则,为 false.

适用于

另请参阅