語言

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

適用於

另請參閱