ICustomUIRegistry.RegisterCustomInspector<TClass, TViewClass> method
Namespace: NextDesign.Desktop
Description
Register your own extended inspector.
- TClass : Custom inspector type
- TViewClass : Custom inspector 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 | CustomInspectorDescriptor | Type descriptor. Null cannot be specified. |
Return value
- void
Exception
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or empty string is specified for extensionName If null is specified for descriptor |
| Duplicate custom UI identifier | ExtensionDuplicationException | If a custom UI identifier (descriptor.Id) is specified twice |