DocumentViewer.OnDocumentChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.