WPF Image / Rendering Event
I use the Image control to display documents:
<Image x:Name="cImage" SnapsToDevicePixels="True" ... />
Since it takes about half a second to display the image on the screen, I first preview the preview with:
RenderOptions.SetBitmapScalingMode(cImage, BitmapScalingMode.NearestNeighbor);
cImage.Source=...;
Then I set a timer to change the mode to HighQuality.
Is there an event that WPF fires when it finishes rendering that I could use instead of a timer?
Will this event be Loaded for the image?
According to http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.loaded.aspx , Loaded is triggered when the content is displayed and ready for interaction.
, , Loaded .