public void AddGoal(Goal g) { Record.AddGoal(g); ListBoxItem item = new ListBoxItem(); item.ToolTip = g.UITooltip; item.Content = g.UIForm; item.Tag = g; // reference back to goal GoalsList.Items.Add(item); }