I have a video feed from a Kinect sensor hosted by an image stored as a bitmap. My question is how do I overlay an image, for example a .png
on to the video fee
If you just want display an Image
on top of another UI control, then you can either just declare one after the other UI elements, or set the Panel.ZIndex
property:
Or:
To find out how to data bind a BitmapImage
to an Image.ItemsSource
property, please see the Bind Xaml bitmap image question here on StackOverflow. To position the Image
in a specific place, you can either use the Image.Margin
property or put it in a Canvas
and use the Canvas.Left
and Canvas.Top
properties.