IViewDefinitions.NewCustomEditorDef method
Namespace: NextDesign.Core
Description
Generate a custom editor definition for the given model class.
argument
Name | Type | Description |
---|---|---|
name | string | Custom editor definition name You cannot specify null or an empty string. |
modelClass | IClass | Model metaclass Cannot be null. |
customEditorTypeId | string | Custom editor type identifier You cannot specify null or an empty string. |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If 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 |
Unsupported | ExtensionNotSupportedException | If the current edition of the application does not support it |