Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The IViewExportService allows a developer to export a specific view that belongs to a view model to the clipboard, a file or a printer.

Platform info

FrameworkSupported
WPF
Silverlight 5
Windows Phone 8.0
Windows Phone 8.1
Windows RT 8.0
Windows RT 8.1
Android
iOS
Test/emulation service

Exporting a view

To export a view, use the following code:

var dependencyResolver = this.GetDependencyResolver();
var viewExportService = dependencyResolver.Resolve<IViewExportService>();
viewExportService.Export(myViewModel, ExportMode.File);

Supported export methods

Export methodWPFSilverlight
Clipboard
File
Print
  • No labels