private void OnAddButtonClick(object sender, RoutedEventArgs e)
        {
            string text = AddInput.Text;

            if (!string.IsNullOrEmpty(text))
            {
                TagEditor.InsertTag(text);
                if (TagEditor.DisplayMode == DisplayMode.Text)
                {
                    TagEditor.UpdateTextFromTags();
                }
                AddInput.Text = "";
            }
        }
 public C1TagEditorPage()
 {
     InitializeComponent();
     TagEditor.InsertTag("WPF");
 }