IEditorPage.SetSubEditorMode(SubEditorMode,IModel) method
Namespace: NextDesign.Desktop
Description
Specifies the display mode of the sub editor using an enumeration type.
argument
Name | Type | Description |
---|---|---|
subEditorMode | SubEditorMode | Sub editor display mode type |
displayModel | IModel | Model 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
Name | Exception class | Description |
---|---|---|
Unauthorized operation | ExtensionInvalidOperationException | If 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 |