How can I create a settings flayout with C++/XAML?
-
12 Mei 2012 15:29It seems that this option is reserved for JavaScript developers.
Semua Balasan
-
12 Mei 2012 16:34Moderator
Create and display your flyout in a Popup.
--Rob
-
14 Mei 2012 10:57Moderator
Hello,
Maybe we can do this in another way, we can use C++ to create a component and use JavaScript for UI. You can check this document to create such an application.
Walkthrough: Creating a basic Windows Runtime component in C++ and calling it from JavaScript
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh755833(v=vs.110).aspx
Best regards,
Jesse
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
-
17 Mei 2012 0:51Moderator
Take a look at Tim Heuer's Callisto project at https://github.com/timheuer/Callisto for some sample Xaml to lay out the standard settings pane elements in a Popup control. Tim's code behind is written in C#, but there isn't much of it and it should be straightforward to implement in C++. If you just need it for a single settings pane it'd be trivial to hardcode it to your specific use.
--Rob
- Disarankan sebagai Jawaban oleh Robin_YangMicrosoft Employee, Moderator 17 Mei 2012 2:34
- Ditandai sebagai Jawaban oleh AnryNetToo 20 Mei 2012 11:46