Skip to main content

ICustomUIRegistry.RegisterCustomEditor<TClass, TViewClass> methods

Namespace: NextDesign.Desktop

Description​

Register your own extended editor.

  • TClass : Custom editor type
  • TViewClass : Custom editor view (xaml) type

argument​

NameTypeDescription
extensionNamestringExtension name.
Specify the extension name defined in the manifest.
Null or empty string cannot be specified.
descriptorCustomEditorDescriptorType descriptor.
Null cannot be specified.

Return value​

  • void

Exception​

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for extensionName
If null is specified for descriptor
If null or an empty string is specified for descriptorCustomEditorTypeId
Duplicate custom UI identifierExtensionDuplicationExceptionIf a custom UI identifier (descriptor.Id) is specified twice