Periodic action
No edit summary
No edit summary
Line 8: Line 8:
* [[Navigating without user interaction|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 transient collection/association that you show on screen.
* Updating a calculated value or transient collection/association that you show on screen.
See also [[MDrivenServer periodic server-side actions]]

Revision as of 14:50, 10 June 2019

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

In the viewmodel editor;

Example of periodic action.png

You typically use 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.

See also MDrivenServer periodic server-side actions

This page was edited 12 days ago on 05/03/2024. What links here