This question is locked. New answers and comments are not allowed.
Is there any way to programmatically set the icon of a Window control? I am trying to set the Icon property of the window to an instance of BitmapImage that I have previously set up from a resource, but it does not work (no icon is shown whatsoever).