I'm trying to draw text in Silverlight. I blit an image and then I want to draw text on top of it
What do I do wrong? Thanks.
TextBlock i = new TextBlock();
i.Text = str;
i.Foreground = new SolidColorBrush(color);
wbmp.Render(i, new TranslateTransform() { X = x, Y = y });
But blitted background image is gone and text is drawn on completely black screen.What do I do wrong? Thanks.