protected virtual void Menu_VisibleInNXClicked(object sender, EventArgs e) { Visible = !Visible; for (int i = 0; i < PersistentDataCount; i++) { PersistentData.ElementAt(i).Visible = Visible; } }