Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​Design.​DesignerTransaction

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → DesignerTransaction

Implemented Interfaces

Provides a way to group a series of design-time actions to improve performance and enable most types of changes to be undone.

Properties

public bool
Canceled
Gets a value indicating whether the transaction was canceled.
public bool
Committed
Gets a value indicating whether the transaction was committed.
public string
Description
Gets a description for the transaction.

Methods

public void
Cancel​()
Cancels the transaction and attempts to roll back the changes made by the events of the transaction.
public void
Commit​()
Commits this transaction.
protected void
Dispose​(bool disposing)
Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> and optionally releases the managed resources.
disposing <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.
protected void
Finalize​()
Releases the resources associated with this object. This override commits this transaction if it was not already committed.
protected void
OnCancel​()
Raises the <see langword="Cancel" /> event.
protected void
OnCommit​()
Performs the actual work of committing a transaction.
public bool
Equals​(object obj)
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object