Click here to Skip to main content
15,895,084 members
Articles / Desktop Programming / XAML

XAML Data to Code

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
27 Sep 2023MIT27 min read 7K   122   9  
How to generate C# code from XAML? But why? Anyway, this question is answered, but this is not the main part…
Many people asked this question about the generation of code out of XAML. And there are many unsatisfactory answers. At the same time, the problem is pretty easy to solve. And code generation is not the only approach. Another approach would be XAML markup created specially for the population of predefined data objects from XAML. Both approaches have their benefits, are easy to use, and are covered in detail in the present article, as well as XAML-based Globalization and Localization of arbitrary data, not necessarily related to UI.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Architect
United States United States
Physics, physical and quantum optics, mathematics, computer science, control systems for manufacturing, diagnostics, testing, and research, theory of music, musical instruments… Contact me: https://www.SAKryukov.org

Comments and Discussions