public void ClearRelatedMaps() { if (HasRelatedContentPanel) { if (RelatedMapsPanel != null) { RelatedMapsPanel.Invoke("clearRelatedMaps"); } } }