I want to transfer a token from viewmodel to view in wpf/xaml/mvvmlight. This token is a public property in the viewmodel and in the view. In the viewmodel-ctor the token gets created (simple guid). This exact token should be transported to the token-property of the view. Here at SO I read this binding between the viewmodel and view property can be done via xaml binding. But I don‘t know how to do it.
The background is the messenger of mvvmlight. I want the view to be able to send messages only to his specific viewmodel and therefore I have to use a common unique token for this view/viewmodel pair.
Or, if you have an other idea, I‘m open to it, so let me know. Thanks guys and girls!