Hi,
I try to use the esri:Editor and put it into a separate file (e.g., editor.xaml) from MainPage.xaml. However, there is a Map property for this esri.Editor that I need to setup the binding. If this esri:Editor is in MainPage.xaml, the code should be
<Grid.Resources>
<esri:Editor x:Key="MyEditor2" x:Name="EditPolygon" Map="{Binding ElementName=MyMap}" LayerIDs="Polygon" GeometryServiceUrl="" />
</Grid.Resources>
Could someone tell me how to bind this MyMap element from MainPage.xaml to the Map property in the editor.xaml?
Thanks,
Wei