Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class / OnDisplayedDocumentChanging Method
new displayed document


In This Topic
    OnDisplayedDocumentChanging Method (NView)
    In This Topic
    Called when the specified document is about to become the currently displayed document
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnDisplayedDocumentChanging( _
       ByVal document As NDocument _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NView
    Dim document As NDocument
    Dim value As System.Boolean
     
    value = instance.OnDisplayedDocumentChanging(document)
    protected virtual System.bool OnDisplayedDocumentChanging( 
       NDocument document
    )

    Parameters

    document
    new displayed document

    Return Value

    true if the specified document can become the new displayed document, otherwise false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also