Share via


ItemAutomationPeer.SetFocusCore 方法

定義

在指定的 UIElement 上設定鍵盤輸入焦點。 UIElement 會對應至與 Items 相關聯之 ItemAutomationPeer 集合中的資料項目。

protected:
 override void SetFocusCore();
protected override void SetFocusCore ();
override this.SetFocusCore : unit -> unit
Protected Overrides Sub SetFocusCore ()

備註

這個方法是由 SetFocus 所呼叫。

適用於

另請參閱