user1399377
user1399377

Reputation: 479

How do I make the WindowsFormsHost transparent?

I am using System.Windows.Forms.Integration.WindowsFormsHost in my WPF application. The System.Windows.Forms.Integration.WindowsFormsHost is a parent of the Panel control, and I am rendering this Panel to show the live camera image from the web-cam.

How do I make it transparent, so that the end user is not able to see the web-cam on the User interface?

Upvotes: 0

Views: 1385

Answers (1)

Naresh Goradara
Naresh Goradara

Reputation: 1896

Transaparency can not apply to WindowsFormsHost. So, you should find another alternative. You can set it visibility.

Upvotes: 1

Related Questions