Skip to main content

IEditorPage.SetSubEditorMode(SubEditorMode,IModel) Method

Namespace: NextDesign.Desktop

Description

Specify the display mode of the subeditor of the active tab with an enumeration.

Arguments

NameTypeDescription
subEditorModeSubEditorModeType of display mode of the subeditor
displayModelIModelModel to display in the subeditor when Manual is specified in subEditorMode

If anything other than Manual is specified in subEditorMode, 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 operationExtensionInvalidOperationExceptionIf this method is called when the subeditor of the active tab is hidden
If a deleted model is specified for displayModel
If a model other than the project being edited is specified for displayModel