Share via


IUIFocusEnvironment.UpdateFocusIfNeeded Method

Definition

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.

[Foundation.Export("updateFocusIfNeeded")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void UpdateFocusIfNeeded();
[<Foundation.Export("updateFocusIfNeeded")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member UpdateFocusIfNeeded : unit -> unit
override this.UpdateFocusIfNeeded : unit -> unit
Attributes

Applies to