Skip to main content

IViewDefinitions.NewCustomEditorDef method

Namespace: NextDesign.Core

Description

Generate a custom editor definition for the given model class.

argument

NameTypeDescription
namestringCustom editor definition name
You cannot specify null or an empty string.
modelClassIClassModel metaclass
Cannot be null.
customEditorTypeIdstringCustom editor type identifier
You cannot specify null or an empty string.

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for name
If a character string that cannot be used is specified for name
If null is specified for modelClass
customEditorTypeId is null, or an empty string
UnsupportedExtensionNotSupportedExceptionIf the current edition of the application does not support it