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
Name | Type | Description |
---|---|---|
extensionName | string | Extension name. Specify the extension name defined in the manifest. Null or empty string cannot be specified. |
descriptor | CustomEditorDescriptor | Type descriptor. Null cannot be specified. |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If 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 identifier | ExtensionDuplicationException | If a custom UI identifier (descriptor.Id) is specified twice |