Event arguments used in document state change events.

Constructors

DocumentModifiedEventArgs

#
public DocumentModifiedEventArgs(Document document, bool before, bool after)
Create a new DocumentModifiedEventArgs instance.
document (Document)Document.
before (bool)Old state.
after (bool)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>