private void ShowGeneralInfo() { piePieceHeaderTextBlock.Text = "General info"; DiagramInfo.Clear(); DiagramInfo.Note = "Here are the most expensive items"; DiagramInfo.Header = Scopes.TotalSum.ToString("C2"); Scopes.OutputData((col1, col2) => DiagramInfo.Add(col1, col2)); }