HwndHost.HasFocusWithinCore HwndHost.HasFocusWithinCore HwndHost.HasFocusWithinCore HwndHost.HasFocusWithinCore Method

定義

取得值,表示接收或其中一個包含的元件是否有焦點。Gets a value that indicates whether the sink or one of its contained components has focus.

protected:
 virtual bool HasFocusWithinCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected virtual bool HasFocusWithinCore ();
abstract member HasFocusWithinCore : unit -> bool
override this.HasFocusWithinCore : unit -> bool
Protected Overridable Function HasFocusWithinCore () As Boolean

傳回

true 如果接收或其中一個包含的元件有焦點,否則, falsetrue if the sink or one of its contained components has focus; otherwise, false.

適用於

另請參閱