In my Silverlight control, I am loading my background image from a stream:
BitmapImage img = new BitmapImage();
img.SetSource(stream);
Image background = new Image();
background.Source = img;
How can I find out the height of the bitmap image that was loaded from stream? None of the usual suspects (e.g., Property, DependencyProperty) seem to be available, neither on img, nor on background.