private void showAllSegments() { foreach (HoverButton hb in segmentList) { hb.Visibility = Visibility.Visible; } }