I have a dynamically rendered Canvas object that I want to use as my source on a MarkerSymbol to add to a GraphicsLayer. I cannot override the ControlTemplate of my MarkerSymbol on the fly unless I have the xaml string of my Canvas (which I do not. If I did, I could use XamlReader to dynamically create a new ControlTemplate). How do I add a canvas as the source of a MarkerSymbol dynamically?
Currently as a work-around I am turning the Canvas into a bitmap to make a PictureMarkerSymbol instead. This is not ideal as I would like to keep the vector format.