Using Prism In ElementHost?

Mar 26, 2012

I am getting nothing displayed on my WinForm. I have looked at the following related posts on this topic but they haven't solved the issue for me.How to use Prisim within an ElementHost. Problems with Prism hosted in a WinForm ElementHost

WinForm with ElementHost
Public Sub New()
This call is required by the designer.[code]....

View 1 Replies


ADVERTISEMENT

Get ElementHost Control, Given One Of WPF Control's Content

Jan 29, 2010

I am trying to get a reference to ElementHost control. For example in the below code I need to initially use the "testImage" content of the WPF user control to lunch the event. The WPF control is added at run-time, so does the ElementHost control, so I can't use the WPF control's name or ElementHost's name. My logic is to get the parent WPF user control of the "testImage", and then get the parent ElementHost of the WPF's user control. But I am having troubles writing it in code.

<UserControl x:Class="WpfTest"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="300" Height="300">

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved