Skip to main content

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

NameTypeDescription
viewDefinitionIEditorDefView definition

You can specify the view definition corresponding to the editor model that can be obtained by ViewDefinitions.

Return value

  • void

Exception

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