Random programming things I'd want to remember

Monday, April 30, 2012

How to add Run control dynamically




textBlock.Inlines.Clear();
textBlock.Inlines.Add(new Run() { Text = Answer.Tag.ToString() });



No comments: