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
Name | Type | Description |
---|---|---|
subEditorMode | string | Display mode type name of the subeditor - "Manual" : Manual - "Detail" : Details - "Input" : Input - "Output" : Output - "SameAsMain" : Same as main - "Custom.{ModelEditorCategory.Id}" : Custom |
displayModel | IModel | Model 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
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When a string outside the range is specified for subEditorMode |
Invalid operation | ExtensionInvalidOperationException | When 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 |