locked
Does Metro can use Javascript to call C# component for GUI

    Question

  • Hi, All

       Does Metro supports Js call C# component's GUI and render in HTML, if can and could you please tell me how to do, thanks.

    Thursday, November 29, 2012 9:02 AM

Answers

  • No, sharing UI and drawing surfaces between JavaScript/HTML and a WinRT component (in any language) is not supported. an HTML/JS app uses HTML/CSS for the presentation layer. The only exception are those pieces of overlay UI that are directly supplied by WinRT APIs, such as the File Picker, Contact Picker, Credential Picker, and message dialog.

    .Kraig

    • Marked as answer by Song Tian Thursday, December 06, 2012 9:07 AM
    Thursday, November 29, 2012 4:06 PM