MDriven ViewModel editor Sub Column Expressions

Опубликовано: 14 Июль 2026
на канале: MDriven
83
2

Sub-Column expressions
What are they; _Style, _Visible, _ReadOnly, _Label , defined by using same name as owner + a specific postfix
why do we have them, and why cant they be properties of the main column?
the standard _Style, _Visible, _ReadOnly are rooted at the top of the ViewModel-tree -
but if we want to control individual cells in a grid/nesting that is too low precision
How we changed the ViewModelEditor to become clearer of sub columns - to actually render sub columns
renaming the collecting/owning column will rename the sub columns as well
Adding a menu for adding SubColumns
subcolumns only use their main expression, not their own _Style, _Visible, _ReadOnly
subcolumns cant have subcolumns
while we were at it - we might as well make the standard Visible,ReadOnly,StyleRef fields visible in the tree
benefits of showing all in the tree; search-hilite works better, LiveEdit becomes clearer
we made the tree zoomable to allow for smaller fonts