cancel
Showing results for 
Search instead for 
Did you mean: 

Cast IControl to System.Windows.Controls.Image

Contributor

Cast IControl to System.Windows.Controls.Image

In a WPF I need to work with a System.Windows.Controls.Image to do some transformation with it, convert it to a Bitmap and some other stuff and for that I need to cast the IControl obtained by TestLeft to an actual System.Windows.Controls.Image.

 

How can I do that? A regular cast just throws an exception.

 

Thank you!

 

P.S: I use C# for TestLeft.

New Here?
Join us and watch the welcome video:
Update to TestLeft 2.3
Top Kudoed Authors
Labels
Top Kudoed Posts