Skip to main content

IEditorPage.SetSubEditorMode(string,IModel) method

Namespace: NextDesign.Desktop

Description

Specifies the display mode of the subeditor 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 displayed in the sub editor when Manual is specified for subEditorMode

If you specify anything other than Manual for subEditorMode, it will be ignored.
Also, if null is specified, the project will be set as the display target model.

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf a string outside the range is specified for subEditorMode
Unauthorized operationExtensionInvalidOperationExceptionIf this method is called while the subeditor is hidden
If displayModel is a deleted model
displayModel is a model other than the project being edited. If specified