Skip to main content

IViewDefinitions.FindEditorDefByClass(string,bool,string) Method

Namespace: NextDesign.Core

Description

Searches for the view definition of the editor defined in the specified class.

Arguments

NameTypeDescription
modelClassNamestringModel class name to search for
fuzzyboolFuzzy match option
The default value is true.
If fuzzy is set to false, the model class name is evaluated as a fully qualified name.
If a class with the same name exists, you can obtain the expected class by setting fuzzy to false and specifying the fully qualified name in classNames.
editorNamestringEditor definition name to search for
Searches for view definitions whose view name matches the string specified in this argument. (Does not search by display name.)
If null is specified, returns all view definitions defined in the class.
If no match is found, returns an empty collection.
The default value is null.

Return value

  • IEditorDefCollection

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf modelClassName is null or an empty string is specified