🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Parsed/Toolbarmode
This page was created by PageReplicator on 2025-09-01. Last edited by PageReplicator on 2025-09-01.

Template:Notice




If a TaggedValue of Toolbar=true is set on a ViewModel, toolbar mode is turned on for that ViewModel.

If you set <a href="/Documentation:SysMDrivenMiscSettingsSingleton" title="Documentation:SysMDrivenMiscSettingsSingleton" data-bs-title="Documentation:SysMDrivenMiscSettingsSingleton">SysMDrivenMiscSettingsSingleton</a>.GlobalToolbarMode=true, all views that do not have the TaggedValue of Toolbar=false will have gotten toolbar mode.

Main design ideas[<a href="/index.php?title=Documentation:Toolbarmode&veaction=edit&section=1" class="mw-editsection-visualeditor" title="Edit section: Main design ideas" data-bs-title="Documentation:Toolbarmode">edit</a> | <a href="/index.php?title=Documentation:Toolbarmode&action=edit&section=1" title="Edit section: Main design ideas" data-bs-title="Documentation:Toolbarmode">edit source</a>]

ActionRenderPosition LeftSide, ContextMenu, ToolBarLeft, ToolBarRight

Two distinct types of actions:

#1 Those that DONTCHANGESTUFF+Navigates-> Stays on leftside,

#2 Others(data changers, even navigating) + save, cancel, Edit(ReadOnlySwitch) goes into new horizontal toolbar below mainmenu

  • End in mind : reduce left menu. It will only hold safe, ViewModel-top-level navigations without side effects - as such, it will not blink or act dynamic
  • Nesting level actions are only available via context-menu in grid (context menu content will probably also be divided into the 2 types of actions)
  • This new style is optional (since adoption is not the same for all projects)
  • The ability to find #1 type of actions relies on the new ReadOnly-functionality(that can deduce if action changes data or not)

<a href="/File:Documentation_Toolbarmode_1727251023851.png" class="image" data-bs-title="File:Documentation_Toolbarmode_1727251023851.png" data-bs-filetimestamp="20240925075703"><img alt="Documentation Toolbarmode 1727251023851.png" src="/images/thumb/3/37/Documentation_Toolbarmode_1727251023851.png/684px-Documentation_Toolbarmode_1727251023851.png" decoding="async" width="684" height="314" srcset="/images/thumb/3/37/Documentation_Toolbarmode_1727251023851.png/1026px-Documentation_Toolbarmode_1727251023851.png 1.5x, /images/3/37/Documentation_Toolbarmode_1727251023851.png 2x" /></a>