I'm trying to create a MapControl inside a UserControl like this:
XAML:
<mapControls:MapControl
Name="mapControl"
Grid.Row="1"
VerticalAlignment="Bottom"
HorizontalAlignment="Stretch"
Height="275"
ViewContent="{Binding Path=MapContent}" />
In my code I am using MapControlContentFactory.Create to create my map, however, the map is not rendered in the user control, but if I use a Pro Window and add the same XAML as above inside the Pro Window it works correctly.
Is MapControl supposed to not work in a UserControl and only inside the ProWindow or is it some kind of bug?