Periodic action
(Created page with "A periodic action is a viewmodel action that runs automatically over and over again until the Disabled expression is True. You typically user this for; * Refreshing a view in...")
 
No edit summary
Line 2: Line 2:


You typically user this for;
You typically user this for;
* Refreshing a view in WPF with selfVM.Refresh if for example your root object is in a state that changes server side.
* Refreshing a view in [[Windows WPF client|WPF]] with [[OCLOperators Refresh|selfVM.Refresh]] if for example your root object is in a state that changes server side.
* Automatically navigate on a change in the database (for example after login when a current user has ben set)
* [[Navigating without user interaction|Automatically navigate]] on a change in the database (for example after login when a current user has ben set)
* Updating a calculated value or not persisted collection/association that you show on screen.
* Updating a calculated value or transient collection/association that you show on screen.

Revision as of 14:46, 10 June 2019

This page was created by Lars.olofsson@mdriven.net on 2019-06-10. Last edited by Stephanie@mdriven.net on 2025-02-06.

A periodic action is a viewmodel action that runs automatically over and over again until the Disabled expression is True.

You typically user this for;

  • Refreshing a view in WPF with selfVM.Refresh if for example your root object is in a state that changes server side.
  • Automatically navigate on a change in the database (for example after login when a current user has ben set)
  • Updating a calculated value or transient collection/association that you show on screen.