My xaml is as follows:
<m:Map CredentialsProvider="XXX" x:Name="mainMap"/>
<BingEditableMapControl:BingMapEditingControl BingMap="mainMap" />
For BingEditableMapControl, the property BingMap is a dependency property takes the control of Map. How do i pass the mainMap to the BingMap property through xaml?