Databind labels in ViewModels
Hans Karlsen (talk | contribs) No edit summary |
(Automatically adding template at the end of the page.) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Labels are normally static presentation texts | Labels are normally static presentation texts. These texts can be translated by following the strategy described [[Localization|here.]] | ||
From time to time, however, you may want to use data instead of static texts. | |||
==== Column | ==== Column Headers in Grids ==== | ||
Expression for Labels - if Grid - are found on level of Grid root column taking the name of "GridRootColumnName"_"GridColumnName"_Label | Expression for Labels - if Grid - are found on the level of Grid root column taking the name of "GridRootColumnName"_"GridColumnName"_Label | ||
and | ==== Labels for Widgets and Buttons ==== | ||
Expression for Labels on simple widgets are found on the same level, taking the name of "ColumnName"_Label | |||
= | [[File:2022-03-18 15h39 51.gif|alt=x|none|thumb|1520x1520px]] | ||
[[File:2022-03-18 | And for MVC and AngularJS: | ||
[[File:2022-03-18 16h41 21.gif|none|thumb|1520x1520px]] | |||
[[Category:View Model]] | |||
{{Edited|July|12|2024}} |
Latest revision as of 15:29, 10 February 2024
Labels are normally static presentation texts. These texts can be translated by following the strategy described here.
From time to time, however, you may want to use data instead of static texts.
Column Headers in Grids
Expression for Labels - if Grid - are found on the level of Grid root column taking the name of "GridRootColumnName"_"GridColumnName"_Label
Labels for Widgets and Buttons
Expression for Labels on simple widgets are found on the same level, taking the name of "ColumnName"_Label
And for MVC and AngularJS:
This page was edited more than 11 months ago on 02/10/2024. What links here