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

Add C++/WinRT Windows Runtime Component #1

Open
michael-hawker opened this issue Jul 17, 2021 · 1 comment
Open

Add C++/WinRT Windows Runtime Component #1

michael-hawker opened this issue Jul 17, 2021 · 1 comment

Comments

@michael-hawker
Copy link
Member

michael-hawker commented Jul 17, 2021

It'd be good to add an additional Windows Runtime Component to the project, but in C++.

This can be then used to have common data types that can be shared between the C# WRC and the C++ App itself.

Part of this could be an example of how to have a common data structure which can be populated in the app, modified by the C# WRC as part of an operation for a control, and then re-read back within the C++ app layer.

e.g. Having the C++ app select an image, using the Image Cropper control in the Toolkit to crop that image, and passing the resulting stream back to the C++ app...

@michael-hawker
Copy link
Member Author

Another example could be showing how a data source in the C++ WRC (like a list/observablecollection of items) can be displayed within a component in the Toolkit but still manipulated by other code in the app or C++ WRC.

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

1 participant