locked
How can I create a settings flayout with C++/XAML? RRS feed

  • Question

  • It seems that this option is reserved for JavaScript developers.
    Saturday, May 12, 2012 3:29 PM

Answers

  • 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

    Thursday, May 17, 2012 12:51 AM
    Moderator

All replies

  • Create and display your flyout in a Popup.

    --Rob

    Saturday, May 12, 2012 4:34 PM
    Moderator
  •  

    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

    Monday, May 14, 2012 10:57 AM
  • 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

    Thursday, May 17, 2012 12:51 AM
    Moderator