TaggedTextBoxSample is a sample application made out of this SO post http://stackoverflow.com/questions/15167809/how-can-i-create-a-tagging-control-similar-to-evernote-in-wpf