Skip to main content

IViewDefinitions.NewCustomEditorDef Method

Namespace: NextDesign.Core

Description

Generates a custom editor definition for the specified model class.

Arguments

NameTypeDescription
namestringCustom editor definition name
Cannot be null or empty.
modelClassIClassModel metaclass
Cannot be null.
customEditorTypeIdstringCustom editor type identifier
Cannot be null or empty.

Return value

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for name
If an unavailable string is specified for name
If null is specified for modelClass
If null or an empty string is specified for customEditorTypeId
Not supportedExtensionNotSupportedExceptionIf the current edition of the application is not compatible