VCurrent and vSelected
No edit summary
No edit summary
Line 2: Line 2:


See this article for a fuller discussion of [https://blog.mdriven.net/cursored-or-full-tree/ how to cursor your viewmodel]
See this article for a fuller discussion of [https://blog.mdriven.net/cursored-or-full-tree/ how to cursor your viewmodel]
[[Category:View Model]]

Revision as of 08:58, 8 December 2022

This page was created by Hans.karlsen@mdriven.net on 2020-07-17. Last edited by Stephanie@mdriven.net on 2025-03-17.

ViewModels create and maintain vCurrent_ and vSelected_ variables for each level of your viewmodel-nestings. The values are maintained by the framework to reflect what the user has focused/clicked last (vCurrent_) and when you allow multi select in grids the vSelected_ collection is maintained. The variables are strongly typed to match your nestings and get the postfix name from the nesting.

See this article for a fuller discussion of how to cursor your viewmodel