OCLOperators DisplayMode
(Created page with "There is a property on selfVM called DisplayMode - that has one of the values enum DisplayModeEnum { UINormal, UIModal, UIPopup, Technical, RestPost, RestGet, RestPatch, RestPut,RestDelete }; Since ViewModels may have multiple usages it is good to be able to know the current use. ViewModels used as Templates in transform, clone, ServerSide, SysAsyncTickets, Reports, Tajson etc will all have DisplayMode.Technical. ViewModels rendering pages as MVC will also have the D...")
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
There is a property on selfVM called DisplayMode - that has one of the values  
There is a property on [[Documentation:SelfVM|selfVM]] called DisplayMode - that has one of the values:
  enum DisplayModeEnum { UINormal, UIModal, UIPopup, Technical, RestPost, RestGet, RestPatch, RestPut,RestDelete };
  enum DisplayModeEnum { UINormal, UIModal, UIPopup, Technical, RestPost, RestGet, RestPatch, RestPut,RestDelete };
Since ViewModels may have multiple usages it is good to be able to know the current use.
Since ViewModels may have multiple usages, it is good to know the current use.


ViewModels used as Templates in transform, clone, ServerSide, SysAsyncTickets, Reports, Tajson etc will all have DisplayMode.Technical.
ViewModels used as Templates in [[Documentation:OCLOperators transform|transform]], [[Documentation:Deepclone|DeepClone]], [[Documentation:Serverside actions|ServerSide]], [[Documentation:AsyncTicket|SysAsyncTickets]], [[Documentation:OpenDocument|OpenDocument Reports]], [[Documentation:Tajson|Tajson]] etc will all have DisplayMode.Technical.


ViewModels rendering pages as MVC will also have the DisplayMode Technical.
ViewModels rendering pages as MVC will also have the DisplayMode Technical.


UI in WPF and Turnkey (both AngularJS and Blazor) will set the DisplayMode to one of UINormal, UIMModal, UIPopup
UI in WPF and Turnkey (both AngularJS and Blazor) will set the DisplayMode to one of UINormal, UIMModal, UIPopup

Latest revision as of 05:04, 24 April 2025

This page was created by Hans.karlsen@mdriven.net on 2025-03-31. Last edited by Stephanie@mdriven.net on 2025-04-24.

There is a property on selfVM called DisplayMode - that has one of the values:

enum DisplayModeEnum { UINormal, UIModal, UIPopup, Technical, RestPost, RestGet, RestPatch, RestPut,RestDelete };

Since ViewModels may have multiple usages, it is good to know the current use.

ViewModels used as Templates in transform, DeepClone, ServerSide, SysAsyncTickets, OpenDocument Reports, Tajson etc will all have DisplayMode.Technical.

ViewModels rendering pages as MVC will also have the DisplayMode Technical.

UI in WPF and Turnkey (both AngularJS and Blazor) will set the DisplayMode to one of UINormal, UIMModal, UIPopup