IUIFocusItem Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface that defines the CanBecomeFocused method.
[Foundation.Protocol(Name="UIFocusItem", WrapperType=typeof(UIKit.UIFocusItemWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIFocusItem : IDisposable, UIKit.IUIFocusEnvironment
type IUIFocusItem = interface
interface INativeObject
interface IDisposable
interface IUIFocusEnvironment
- Derived
- Attributes
- Implements
Properties
CanBecomeFocused | |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
PreferredFocusedView |
If not |
Methods
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator) |
Delegate method called shortly after focus has changed to a new UIView. (Inherited from IUIFocusEnvironment) |
SetNeedsFocusUpdate() |
When |
ShouldUpdateFocus(UIFocusUpdateContext) |
Called prior to the current object either losing or receiving focus. If either focus environment returns |
UpdateFocusIfNeeded() |
If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any IUIFocusEnvironment, whether it currently contains focus or not. (Inherited from IUIFocusEnvironment) |
Extension Methods
GetFocusItemContainer(IUIFocusEnvironment) |
Gets the focus container for the environment. |
GetParentFocusEnvironment(IUIFocusEnvironment) |
Gets the parent focus environment. |
GetPreferredFocusEnvironments(IUIFocusEnvironment) |
Gets the list of focus environments, ordered by priority, that the environment prefers when updating the focus. |
DidHintFocusMovement(IUIFocusItem, UIFocusMovementHint) |
Called when a focus change may soon happen. |
GetFrame(IUIFocusItem) |
Returns the frame in the reference coordinate space of the containing IUIFocusItemContainer. |