Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to download XAML code ? #55

Open
npagare opened this issue Oct 14, 2018 · 4 comments
Open

How to download XAML code ? #55

npagare opened this issue Oct 14, 2018 · 4 comments

Comments

@npagare
Copy link

npagare commented Oct 14, 2018

Hello,
Thank you for this awesome feature.
How to change the option for the generate code language from HTML to XAML ?

Thanks.

@tarasha
Copy link
Contributor

tarasha commented Oct 22, 2018

@macastejon can you please help IoTFlier with this question?

@macastejon
Copy link
Collaborator

Hi, this option is not still implemented, but I can show you the way. If you follow the code there is a step that generates a file called groups.json that contains the information of the spatial distribution of the detected elements. Basically it contains information of how to position the elements in a grid. You should then use this info to generate the final output in XAML. Should't be hard to go through the groups.json file and generate the corresponding XAML. Please let me know if you need more help or samples on how to proceed.

@npagare
Copy link
Author

npagare commented Oct 23, 2018

Hi @macastejon, I appreciate your input.

Samples will be really good.

Is there a known limitations / scope of XAML (Xamarin Forms) controls used it the code generation?

Is Grid the highest level of XAML container used for all XAML snippets?

Thanks,

@npagare
Copy link
Author

npagare commented Nov 1, 2018

Hi @macadada , @tarasha , any update on the XAML creation?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants