Skip to main content

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

NameTypeDescription
viewDefinitionIEditorDefView 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

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for viewDefinition
Illegal operationExtensionInvalidOperationExceptionWhen 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