I have an ViewModel containing 4 properties (Aaa, Bbb, Value, Focus) and button, that uses static command binding for simple client-only assignments:
<dot:Button Click="{staticCommand: Focus=="Aaa" ? (Aaa=Value) : (Bbb=Value)}" />>
This code works fine, but is not comfortable for more properties than Aaa, Bbb.
Not least it makes this button dependent on properties Aaa, Bbb, which complicate reuse button as UserControl.
Is possible to write some indirect assignment like this?
<dot:Button Click="{staticCommand: ViewModel[Focus]=Value}" />>