Nevron .NET Vision
Nevron.Diagram.Editors Namespace / NDiagramElementTypeEditor Class / Edit Method
element to edit


In This Topic
    Edit Method (NDiagramElementTypeEditor)
    In This Topic
    Shows a modal element editor
    Syntax
    'Declaration
     
    
    Public Shared Function Edit( _
       ByVal element As INDiagramElement _
    ) As System.Boolean
    'Usage
     
    
    Dim element As INDiagramElement
    Dim value As System.Boolean
     
    value = NDiagramElementTypeEditor.Edit(element)
    public static System.bool Edit( 
       INDiagramElement element
    )

    Parameters

    element
    element to edit

    Return Value

    true if the user pressed the OK button, otherwise false
    Remarks
    If the specified element is attached to a document, the method will start a composite property change transaction. If the user clicked the OK button, the transaction will be commited, otherwise it will be rolled back.
    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