NevronOpenVision
Nevron.Nov.Editors Namespace / NDesigner Class / CreateCompatibleTypesEditor Method / CreateCompatibleTypesEditor(NEditorContext,Object,Boolean,Boolean,NLocalizedString) Method
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(NEditorContext,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 virtual NNodeSurrogateEditor CreateCompatibleTypesEditor( 
   NEditorContext context,
   System.object value,
   System.bool allowNull,
   System.bool allowAutomatic,
   NLocalizedString title
)

Parameters

context
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