This article describes how to use <AsString> in ViewModels, instead of the object.asString operator.


For all but actions, this logic has been replaced with Databind labels in ViewModels.


In many situations, you may want to further detail action names or constraint messages. You can do this by mixing in <AsString> in the presentation or message.

This is described in this article:

Note that the <AsString> is used as a pattern to replace and as such, it is case-sensitive.

In Fat-Client WPF, we recently added a way to make the placed Action Buttons in ViewModels bound: <Column:SomeName> in the Presentation of a placed Action button will be interpreted as "Look for ViewModel Column on the same level with name=SomeName" and bind the presentation of the button to this.

This page was edited 29 days ago on 06/17/2024. What links here