'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