Sets report view model.
            
    Namespace: 
   PerpetuumSoft.ReportingServices.Viewer.ClientAssembly: PerpetuumSoft.ReportingServices.Viewer.Client (in PerpetuumSoft.ReportingServices.Viewer.Client.dll) Version: 1.0.0.0
Syntax
| C# | 
|---|
public void SetViewModel( ViewModel viewModel, bool useAnimation )  | 
| Visual Basic (Declaration) | 
|---|
Public Sub SetViewModel ( _ viewModel As ViewModel, _ useAnimation As Boolean _ )  | 
| Visual C++ | 
|---|
public: void SetViewModel( ViewModel^ viewModel, bool useAnimation )  | 
Parameters
- viewModel
 - Type: PerpetuumSoft.ReportingServices.Viewer.Client..::.ViewModel
The view model. The instance of ViewModel class. 
- useAnimation
 - Type: System..::.Boolean
If it is set to true then it is used animation to change view.