Skip to main content

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

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

Return value

  • void

Exception

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