Skip to main content

IEditorPage.SetSubEditorMode(string,IModel) Method

Namespace: NextDesign.Desktop

Description

Specifies the display mode of the subeditor of the active tab as a string type.

Arguments

NameTypeDescription
subEditorModestringDisplay mode type name of the subeditor
- "Manual" : Manual
- "Detail" : Details
- "Input" : Input
- "Output" : Output
- "SameAsMain" : Same as main
- "Custom.{ModelEditorCategory.Id}" : Custom
displayModelIModelModel to display in the subeditor when subEditorMode is set to Manual

If subEditorMode is set to anything other than Manual, it will be ignored.
If null is specified, the project will be set as the model to be displayed.

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionWhen a string outside the range is specified for subEditorMode
Invalid operationExtensionInvalidOperationExceptionWhen this method is called while the subeditor of the active tab is hidden
When a deleted model is specified for displayModel
When a model other than the project being edited is specified for displayModel