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

返回

Boolean

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

适用于

另请参阅