Databind labels in ViewModels
(Created page with "Labels are normally static presentation texts - these texts can be translated by following the strategy describe here But from time to time you want to use d...")
 
(Automatically adding template at the end of the page.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Labels are normally static presentation texts - these texts can be translated by following the strategy describe [[Localization|here]]
Labels are normally static presentation texts. These texts can be translated by following the strategy described [[Localization|here.]]


But from time to time you want to use data instead of static texts.
From time to time, however, you may want to use data instead of static texts.


==== Column headers in grids ====
==== 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


==== Labels for widgets and buttons ====
[[File:2022-03-18 15h39 51.gif|alt=x|none|thumb|1520x1520px]]
Expression for Labels on simple widgets - are found on same level taking the name of "ColumnName"_Label
 
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

x

And for MVC and AngularJS:

2022-03-18 16h41 21.gif
This page was edited 97 days ago on 02/10/2024. What links here