MDrivenStart ViewModelActions
This page was created by Hans.karlsen@mdriven.net on 2020-07-10. Last edited by Stephanie@mdriven.net on 2025-01-31.
ViewModelActions have similar functionality as class actions, but they act on ONE view, rather than on the objects of a class - so you will find no "self" here. Instead, you give what it is currently focused on in the view in variables starting with vCurrent_ and when the user has selected multiple items in grids, you will find them in vSelected_ collections for the corresponding View Model nesting. Read more on vCurrent and vSelected.