class in UnityEngine.Experimental.UIElements
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Base class for objects that can get the focus.
The focus is used to designate an element that will receive keyboard events.
|canGrabFocus||Return true if the element can be focused.|
|focusController||Return the focus controller for this element.|
|focusIndex||An integer used to sort focusables in the focus ring. A negative value means that the element can not be focused.|
|Blur||Tell the element to release the focus.|
|Focus||Attempt to give the focus to this element.|
|HandleEvent||Handle an event, most often by executing the callbacks associated with the event.|
|HasBubbleUpHandlers||Return true if event handlers for the event propagation BubbleUp phase have been attached on this object.|
|HasTrickleDownHandlers||Returns true if event handlers, for the event propagation TrickleDown phase, are attached to this object.|
|RegisterCallback||Adds an event handler to the instance. If the event handler has already been registered for the same phase (either TrickleDown or BubbleUp) then this method has no effect.|
|SendEvent||Sends an event to the event handler.|
|UnregisterCallback||Remove callback from the instance.|