コード例 #1
0
        private void AddButton_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrEmpty(NewTag.Text.Trim()))
            {
                return;
            }

            TagInfo tag  = AppDataManager.AddTag(NewTag.Text);
            TagView view = new TagView(tag)
            {
                UseSelection = false
            };

            TagArea.Children.Add(view);
        }