Original User: rogerycI find the solution myself.I extracted the ESRI.ArcGIS.Mapping.Core dll from the 'MainApplication'.xap, and used the LayerExtensions.SetLayerName static method:ESRI.ArcGIS.Mapping.Core.LayerExtensions.SetLayerName(layer, "New Name");Regards.