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
Name | Type | Description |
---|---|---|
editor | IEditorDef | Editor Definition |
modelClassName | string | Model class name |
fuzzy | bool | Fuzzy 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. |
elementName | string | Editor element definition name. Default value is null. |
Return value
- IElementDefCollection
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for editor If null or an empty string is specified for modelClassName |