Skip to main content

IEditorPage.SetSubEditorMode(string, IModel) method

Namespace: NextDesign.Desktop

Description

Specify the display mode of the sub-editor as a string type.

argument

NameTypeDescription
subEditorModestringSub-editor display mode type name
-"Manual": Manual
-"Detail": Details
-"Input": Input
-"Output ": Output
-"SameAsMain ": Same as main
-"Custom. {ModelEditorCategory.Id} ": Custom
displayModelIModelModel 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

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen a character string outside the range is specified in subEditorMode
Illegal operationExtensionInvalidOperationExceptionWhen this method is called while the sub-editor is hidden
When the deleted model is specified in displayModel