IEditorView.SelectViewDefinition method
Namespace: NextDesign.Desktop
Description
Switches the view displayed in the editor. 
Only view definitions that correspond to the editor's model, which can be obtained with ViewDefinitions, can be specified. 
argument
| Name | Type | Description | 
|---|---|---|
| viewDefinition | IEditorDef | View definition You can specify the view definition that corresponds to the model of the editor that can be obtained with ViewDefinitions. | 
Return value
- void
Exceptions
| Name | Exception Class | Description | 
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null is specified for viewDefinition | 
| Illegal operation | ExtensionInvalidOperationException | When a view definition that cannot be displayed in this editor is specified For example, the following cases apply. ・Specify a view definition that does not correspond to the model displayed in the editor ・Specify a view definition that can only be displayed in the sub-editor for the main editor |