Nevron Open Vision Documentation
Nevron.Nov.Editors Namespace / NDesigner Class / CreateCompatibleTypesEditor Method / CreateCompatibleTypesEditor(NEditor,Object,Boolean,Boolean,NLocalizedString) Method
editor that will own the created editor
The value to edit. Can be a node, which is a valid instance of a designer compatible types, null if allowNull is true or NNode.ClearValueObject is allowAutomatic is true.
whether to allow null values
whether to allow automatic values (e.g. NNode.ClearValueObject)
the title of the editor


In This Topic
    CreateCompatibleTypesEditor(NEditor,Object,Boolean,Boolean,NLocalizedString) Method
    In This Topic
    Creates an editor that provides the user with an option to select between the compatible types associated with this desigenr.
    Syntax
    'Declaration
     
    
    Public Overloads Function CreateCompatibleTypesEditor( _
       ByVal editor As NEditor, _
       ByVal value As System.Object, _
       ByVal allowNull As System.Boolean, _
       ByVal allowAutomatic As System.Boolean, _
       ByVal title As NLocalizedString _
    ) As NNodeSurrogateEditor
    'Usage
     
    
    Dim instance As NDesigner
    Dim editor As NEditor
    Dim value As System.Object
    Dim allowNull As System.Boolean
    Dim allowAutomatic As System.Boolean
    Dim title As NLocalizedString
    Dim value As NNodeSurrogateEditor
     
    value = instance.CreateCompatibleTypesEditor(editor, value, allowNull, allowAutomatic, title)
    public NNodeSurrogateEditor CreateCompatibleTypesEditor( 
       NEditor editor,
       System.object value,
       System.bool allowNull,
       System.bool allowAutomatic,
       NLocalizedString title
    )

    Parameters

    editor
    editor that will own the created editor
    value
    The value to edit. Can be a node, which is a valid instance of a designer compatible types, null if allowNull is true or NNode.ClearValueObject is allowAutomatic is true.
    allowNull
    whether to allow null values
    allowAutomatic
    whether to allow automatic values (e.g. NNode.ClearValueObject)
    title
    the title of the editor
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also