I'm trying to stream input devices via Microsoft.Expression.Encoder and now I can display them with WindowsFormsHost in WPF but it is always problematic for other things such as, AllowTransparency property etc.
Is there any way to display it without WindowsFormsHost?
CODE: (C#)
App.deviceSource.PreviewWindow = new PreviewWindow(new HandleRef(panel1, panel1.Handle));
XAML
<WindowsFormsHost x:Name="windowsFormsHost" Background="Black" Margin="12,12,12,59">
<wf:Panel Margin="0,0,0,0" x:Name="panel1" Size="836,600" />
</WindowsFormsHost>