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