IEditorPage.SetSubEditorMode(string, IModel) method
Namespace: NextDesign.Desktop
Description
Specify the display mode of the sub-editor as a string type.
argument
Name | Type | Description |
---|---|---|
subEditorMode | string | Sub-editor display mode type name -"Manual": Manual -"Detail": Details -"Input": Input -"Output ": Output -"SameAsMain ": Same as main -"Custom. {ModelEditorCategory.Id} ": Custom |
displayModel | IModel | Model to be displayed in the sub-editor when Manual is specified in subEditorMode If other than Manual is specified in subEditorMode, it will be ignored. Also, if null is specified, the project will be set as the model to be displayed. |
Return value
- void
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When a character string outside the range is specified in subEditorMode |
Illegal operation | ExtensionInvalidOperationException | When this method is called while the sub-editor is hidden When the deleted model is specified in displayModel |