public ShowMapProperties() { InitializeComponent(); MyMap.Layers.LayersInitialized += Layers_LayersInitialized; }