{
ProApp.Panes.OfType<IMapPane>().OrderBy((mp) => mp.MapView.Map.URI ?? mp.MapView.Map.Name);
}
{
//Return the name of the map currently displayed in the active map view.
var result = mapView.Map.Name;
// Use the result variable as needed
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)