UIViewController.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
則為結束編輯。 預設為 false
。
- animated
- Boolean
true
以動畫顯示轉換到編輯模式 false
或立即變更模式。
- 屬性