Share via


IUITableViewDelegate.ShouldUpdateFocus Method

Definition

TCalled prior to the tableView either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

[Foundation.Export("tableView:shouldUpdateFocusInContext:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldUpdateFocus(UIKit.UITableView tableView, UIKit.UITableViewFocusUpdateContext context);
[<Foundation.Export("tableView:shouldUpdateFocusInContext:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext -> bool
override this.ShouldUpdateFocus : UIKit.UITableView * UIKit.UITableViewFocusUpdateContext -> bool

Parameters

tableView
UITableView

Returns

Attributes

Applies to