You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update more controls documentation for c# markup #19837
I ask this since i had a lot of trouble figuring out how to use ShadowContainer using c# markup, which i eventually suceeded ONLY after resorting to chatgpt, since unfortunately there is no online xaml to c# markup and i am still a beginner on c# markup and even c# itself. I am sure more controls dont have c# markup parts as well, and unfortunately the uno gallery and uno playground are xaml only, i hope that later they will have c# markup examples too, altough of course meanwhile i am learning myself.
Concern
Support
Affected platforms
Windows (WinAppSDK)
Any feedback?
More examples of xaml to c# markup in the xaml snippets in controls documentation, specially those more complex with containers for example.
C# markup uses Source Generators, which generally just adds the appropriate static extension methods for each of the properties supported by each control. That being said, we definitely need to improve documentation in this area, so if you have specific controls/scenarios you are struggling with, please let us know and we can improve the documentation accordingly
Oh i see, thanks for the response, in the meanwhile i am studying c# mark more in-depth and i think this is the right choice since my problem was having lack of bases since after all i am still a newbie on c# markup, and even on XAML itself and c# (my main experience before this was winforms and vb.net, fortunately learning c# isnt being as difficult as i feared because of my experience in vb.net) but now i am understanding c# markup better and now being able to convert xaml to c# markup by myself a lot better, so yeah in case i find more specific suggestions i will give it indeed.
Well, for now ShadowContainer would be a huge help, so a c# markup version of the snippets on the shadowcontainer alongside the xaml ones would help a lot, altough i find strange that i wasnt' able to declare shadows as methods, and instead had to manually declare them using normal non-fluent api code to declare them, but at least i learned a lot of c# markup making this work :D but i wonder which other controls will be this hard to port to c# markup, i could add here on this comment as i find out, since i noticed the tag for triage/needs-information to work on it, so perhaps that would help then.
Validation update (2026-03-05): I reviewed this on branch fix/algolia-docsearch-duplicates-and-layout (PR #22789). This issue still persists / is not resolved by the current branch changes. Tracking and consolidation: #22788.
Updated validation (2026-03-05): Only 1 control doc file found with C# Markup examples (ResponsiveView.md). All other control pages remain XAML-only. Issue persists. Tracking: #22788.
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
Activity
MartinZikmund commentedon Apr 4, 2025
C# markup uses Source Generators, which generally just adds the appropriate static extension methods for each of the properties supported by each control. That being said, we definitely need to improve documentation in this area, so if you have specific controls/scenarios you are struggling with, please let us know and we can improve the documentation accordingly
cesm1980 commentedon Apr 6, 2025
Oh i see, thanks for the response, in the meanwhile i am studying c# mark more in-depth and i think this is the right choice since my problem was having lack of bases since after all i am still a newbie on c# markup, and even on XAML itself and c# (my main experience before this was winforms and vb.net, fortunately learning c# isnt being as difficult as i feared because of my experience in vb.net) but now i am understanding c# markup better and now being able to convert xaml to c# markup by myself a lot better, so yeah in case i find more specific suggestions i will give it indeed.
cesm1980 commentedon Apr 7, 2025
Well, for now ShadowContainer would be a huge help, so a c# markup version of the snippets on the shadowcontainer alongside the xaml ones would help a lot, altough i find strange that i wasnt' able to declare shadows as methods, and instead had to manually declare them using normal non-fluent api code to declare them, but at least i learned a lot of c# markup making this work :D but i wonder which other controls will be this hard to port to c# markup, i could add here on this comment as i find out, since i noticed the tag for triage/needs-information to work on it, so perhaps that would help then.
Jen-Uno commentedon Mar 6, 2026
Validation update (2026-03-05): I reviewed this on branch fix/algolia-docsearch-duplicates-and-layout (PR #22789). This issue still persists / is not resolved by the current branch changes. Tracking and consolidation: #22788.
Jen-Uno commentedon Mar 6, 2026
Updated validation (2026-03-05): Only 1 control doc file found with C# Markup examples (
ResponsiveView.md). All other control pages remain XAML-only. Issue persists. Tracking: #22788.github-actions commentedon Jul 5, 2026
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.
github-actions commentedon Nov 8, 2026
This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.