共用方式為


UITableViewCell.SetEditing(Boolean, Boolean) 方法

定義

切換和移出編輯模式的儲存格。

[Foundation.Export("setEditing:animated:")]
public virtual void SetEditing(bool editing, bool animated);
abstract member SetEditing : bool * bool -> unit
override this.SetEditing : bool * bool -> unit

參數

editing
Boolean

true 若要進入編輯模式, false 請將其保留。

animated
Boolean

true 以動畫顯示編輯控制項的外觀/活頁簿, false 以立即顯示/隱藏控制項。

屬性

適用於