Skip to content

Update more controls documentation for c# markup #19837

Open

Description

@cesm1980

What would you like clarification on

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.

Activity

  1. added
    difficulty/tbd
    triage/untriaged
    on Apr 4, 2025
  2. MartinZikmund commented on Apr 4, 2025

    @MartinZikmund
    Member

    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

  3. added and removed
    difficulty/tbd
    triage/untriaged
    on Apr 4, 2025
  4. cesm1980 commented on Apr 6, 2025

    @cesm1980
    Author

    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.

  5. cesm1980 commented on Apr 7, 2025

    @cesm1980
    Author

    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.

  6. Jen-Uno commented on Mar 6, 2026

    @Jen-Uno
    Contributor

    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.

  7. Jen-Uno commented on Mar 6, 2026

    @Jen-Uno
    Contributor

    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.

  8. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    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.

  9. added
    stale
    on Jul 5, 2026
  10. removed
    stale
    on Jul 9, 2026
  11. github-actions commented on Nov 8, 2026

    @github-actions
    Contributor

    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.

  12. added
    stale
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/documentationstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions