Edit

Share via


DocumentViewer.OnDocumentChanged Method

Definition

Responds to calls when the document to display is changed.

protected:
 override void OnDocumentChanged();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override void OnDocumentChanged ();
protected override void OnDocumentChanged ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.OnDocumentChanged : unit -> unit
override this.OnDocumentChanged : unit -> unit
Protected Overrides Sub OnDocumentChanged ()
Attributes

Remarks

OnDocumentChanged responds to calls when the Document property of the DocumentViewer control is set to display a new document.

Applies to