SmallMultipleCanvasService.sendToLayer Method
Sends a viewmodel to a target layer and/or target cell.
Parameters
- viewModel
-
Type: NotifiedViewModel
dundas.controls.DesignObjectViewModel or dundas.controls.SelectionGroupViewModel to be sent to another layer.
- targetLayerId
-
Type: string - May be null
(Optional)The ID of the layer to send to.
- targetTemplateCellVM
-
Type: TemplateCellViewModel - May be null
(Optional) The viewmodel to send to.
- doNotExeucteCommand
-
Type: boolean - May be null
(Optional) True to not execute the command.
Return Value
Type: UndoableCommand
The command created.
Remarks
Need to provide either targetId or targetTemplateCellVM or both.