public enum EditableObjectBehavior
Public Enumeration EditableObjectBehavior
public enum class EditableObjectBehavior
type EditableObjectBehavior
Disabled | 0 | IEditableObject methods are ignored, the object must be used as an ICanEdit implementation to utilize editing features. |
DisableNesting | 1 | IEditableObject.EndEdit and IEditableObject.CancelEdit calls ignore possible multiple IEditableObject.BeginEdit calls and commit/revert all of the previous changes. EditLevel will be 0 after an IEditableObject.EndEdit or IEditableObject.CancelEdit call. |
AllowNesting | 2 | Number of IEditableObject.EndEdit and IEditableObject.CancelEdit calls must equal to previous IEditableObject.BeginEdit calls; otherwise, an InvalidOperationException will be thrown. |