void tempControl_TemplateSelected(object sender, TemplateSelectedEventArgs e) { var p = _panels.Peek() as StackPanel; UpdateDataPanel(p, e.Type, e.Data); }
void tempControl_TemplateSelected(object sender, TemplateSelectedEventArgs e) { var p = _panels.Peek() as StackPanel; UpdateDataPanel(p, e.Type, e.Data); }