NevronOpenVision
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
CreateCompatibleTypesEditor(NEditor,Object,Boolean,Boolean,NLocalizedString) Method
Creates an editor that provides the user with an option to select between the compatible types associated with this desigenr.
Syntax
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