Jason
Jason

Reputation: 17099

XPS or XAML viewer to embed in .NET app?

Is there a viewer object or ActiveX control I can use to embed an XPS document, or an XAML GUI in my .NET application?

Upvotes: 2

Views: 2062

Answers (1)

Scott
Scott

Reputation: 4163

You can use the ElementHost Control to host WPF content on a .Net Windows Form.The ElementHost appears in the Toolbox under the WPF Interoperability section. You can then host a WPF control that has XPS Document Viewer on it and you've solved both problems.

Upvotes: 2

Related Questions