IEditorPage.SetSubEditorMode(string,IModel) method
Namespace: NextDesign.Desktop
Description
Specifies the display mode of the subeditor as a string type.
argument
Name | Type | Description |
---|---|---|
subEditorMode | string | Sub editor display mode type name - "Manual": Manual - "Detail": Details - "Input": Input - "Output " : Output - "SameAsMain" : Same as main - "Custom.{ModelEditorCategory.Id}" : Custom |
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 |
---|---|---|
Invalid argument | ExtensionArgumentException | If a string outside the range is specified for subEditorMode |
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 |