Skip to main content

IViewDefinitions.FindElementDefByClass(IEditorDef,string,bool,string) Method

Namespace: NextDesign.Core

Description

Searches for an editor element definition that corresponds to a specified model class from a specified editor definition.

Arguments

NameTypeDescription
editorIEditorDefEditor Definition
modelClassNamestringModel class name
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 get the expected class by specifying false for fuzzy and the fully qualified name for classNames.
elementNamestringEditor element definition name. Default value is null.

Return value

  • IElementDefCollection

Exceptions

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