=== TeachInCommand ===
With the '''TeachInCommand''' you're allowed to set your device's current location as the value of the context object's [[SYSCLS_GEO|geo property]].This command is available in both '''ContentViewModel ''' and '''PropertyViewModel'''.
* ContentViewModel.TeachInCommand: If possible, sets the current location of the device as the value of the context object's [[SYSCLS_GEO|geo property]]. Saves and commits the change;
* PropertyViewModel.TeachInCommand: If possible, sets the current location of the device as the value of the current property if it's a geo property (not necessarily the [[SYSCLS_GEO|geo property]]).
** <br/>The context prefix ('''''ContentViewModel''.''' / '''''PropertyViewModel.''''') is not required within the view model. Addtionally supports a boolean command parameter. :* False (default): The change is not automatically saved. * True: The change is saved.
[[Category:Client|XAML Tips]]