Skip to main content

IViewDefinitions.FindEditorDefByClass method

Namespace: NextDesign.Core

Description

Finds the editor's view definition defined for the specified class.

argument

NameTypeDescription
modelClassIClassclass to search for
namestringEditor definition name to search for
Searches for view definitions whose view name matches the string specified in this argument. (Not searched by display name.)
If null, returns all view definitions defined for the class.
Returns an empty collection if the search finds no matches.
The initial value is null.

Return value

  • IEditorDefCollection

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for modelClass