Event arguments used in document state change events.

Constructors

DocumentStateEventArgs

#
public DocumentStateEventArgs(Document document, DocumentState before, DocumentState after)
Create a new DocumentStateEventArgs instance.
document (Document)Document.
before (DocumentState)Old state.
after (DocumentState)New state.

Fields

_after

protected readonly T _after
inherited fromDocumentEventArgs<T>

_before

protected readonly T _before
inherited fromDocumentEventArgs<T>

Properties

Document

public Document Document { get; }
Gets the document that raised this event.
inherited fromDocumentEventArgs<T>

NewState

public T NewState { get; }
Gets the new state.
inherited fromDocumentEventArgs<T>

Oldstate

public T Oldstate { get; }
Gets the old state that existed before the event.
inherited fromDocumentEventArgs<T>