UITableViewCell.SetEditing(Boolean, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
切換和移出編輯模式的儲存格。
[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
以立即顯示/隱藏控制項。
- 屬性