Select to view content in your preferred language

Edit Interactive Samples

641
2
09-27-2010 02:59 PM
ShawnKendrot
Deactivated User
Hello,

The Edit Tools - Auto/Explicit Save interactive samples are demonstrating the use of MVVM within the xaml, however the ViewModel is not shown. The Code Behind tab shows the code behind for the page, but lacks the file where the code actually is.

Could you please update these samples.

Thanks!
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
Where do you see the use of a ViewModel? As far as I can see there is none.
If you are referring to the bindings, the DataContext is set to the editor defined in the static resource at the top.
0 Kudos
ShawnKendrot
Deactivated User
Morten,

Yes I noticed the following line this morning: DataContext="{StaticResource MyEditor}"
Sorry for the confusion!
0 Kudos